Mercurial > kallithea
diff docs/usage/troubleshooting.rst @ 8846:20e850093f1c
hooks: on Git, invoke hooks/post-receive-custom from hooks/post-receive
Make it possible for admins to install all kinds of hooks.
Based on a patch by Tim Ooms.
A more generic solution would be nice, but for now we aim for this minimal
solution.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 11 Jan 2021 23:28:09 +0100 |
parents | d8e65780dbe9 |
children |
line wrap: on
line diff
--- a/docs/usage/troubleshooting.rst Mon Jan 11 14:25:52 2021 +0100 +++ b/docs/usage/troubleshooting.rst Mon Jan 11 23:28:09 2021 +0100 @@ -52,6 +52,7 @@ Note that Kallithea uses the ``post-receive`` hook internally. Kallithea will not work properly if another post-receive hook is installed instead. You might also accidentally overwrite your own post-receive hook with the Kallithea hook. + Instead, put your post-receive hook in ``post-receive-custom``, and the Kallithea hook will invoke it. You can also use Kallithea-extensions to connect to callback hooks, for both Git and Mercurial.