From d7a25ae146f4e63bb73a478ad5ffaf96a26daf72 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Wed, 22 Nov 2017 16:24:46 +0100 Subject: [PATCH] git: fix git hook template mention of what hooks we actually execute. - they are now stored inside vcsserver. --- rhodecode/config/hook_templates/git_post_receive.py.tmpl | 2 +- rhodecode/config/hook_templates/git_pre_receive.py.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rhodecode/config/hook_templates/git_post_receive.py.tmpl b/rhodecode/config/hook_templates/git_post_receive.py.tmpl index 790d382b..ed13d65b 100644 --- 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 index 668ff932..29596eea 100644 --- 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)