# HG changeset patch # User Marcin Kuzminski # Date 2017-11-22 15:24:46 # Node ID 0df6dc224053d08d855a18f13781c95a5a4e854a # Parent e641eb6b0a94105dfbe0ceb012624403526824dc git: fix git hook template mention of what hooks we actually execute. - they are now stored inside vcsserver. diff --git a/rhodecode/config/hook_templates/git_post_receive.py.tmpl b/rhodecode/config/hook_templates/git_post_receive.py.tmpl --- a/rhodecode/config/hook_templates/git_post_receive.py.tmpl +++ b/rhodecode/config/hook_templates/git_post_receive.py.tmpl @@ -16,7 +16,7 @@ RC_HOOK_VER = '_TMPL_' def main(): if hooks is None: - # exit with success if we cannot import rhodecode.lib.hooks !! + # exit with success if we cannot import vcsserver.hooks !! # this allows simply push to this repo even without rhodecode sys.exit(0) diff --git a/rhodecode/config/hook_templates/git_pre_receive.py.tmpl b/rhodecode/config/hook_templates/git_pre_receive.py.tmpl --- a/rhodecode/config/hook_templates/git_pre_receive.py.tmpl +++ b/rhodecode/config/hook_templates/git_pre_receive.py.tmpl @@ -16,7 +16,7 @@ RC_HOOK_VER = '_TMPL_' def main(): if hooks is None: - # exit with success if we cannot import rhodecode.lib.hooks !! + # exit with success if we cannot import vcsserver.hooks !! # this allows simply push to this repo even without rhodecode sys.exit(0)