##// END OF EJS Templates
hooks: allow skip hooks seperately for git and svn
marcink -
r435:b6e06d50 stable
parent child Browse files
Show More
@@ -25,7 +25,7 b' def main():'
25 25 # this allows simply push to this repo even without rhodecode
26 26 sys.exit(0)
27 27
28 if os.environ.get('RC_SKIP_HOOKS'):
28 if os.environ.get('RC_SKIP_HOOKS') or os.environ.get('RC_SKIP_GIT_HOOKS'):
29 29 sys.exit(0)
30 30
31 31 repo_path = os.getcwd()
@@ -25,7 +25,7 b' def main():'
25 25 # this allows simply push to this repo even without rhodecode
26 26 sys.exit(0)
27 27
28 if os.environ.get('RC_SKIP_HOOKS'):
28 if os.environ.get('RC_SKIP_HOOKS') or os.environ.get('RC_SKIP_GIT_HOOKS'):
29 29 sys.exit(0)
30 30
31 31 repo_path = os.getcwd()
@@ -26,7 +26,7 b' def main():'
26 26 # this allows simply push to this repo even without rhodecode
27 27 sys.exit(0)
28 28
29 if os.environ.get('RC_SKIP_HOOKS'):
29 if os.environ.get('RC_SKIP_HOOKS') or os.environ.get('RC_SKIP_SVN_HOOKS'):
30 30 sys.exit(0)
31 31 repo_path = os.getcwd()
32 32 push_data = sys.argv[1:]
@@ -29,7 +29,7 b' def main():'
29 29 # exit with success if we cannot import vcsserver.hooks !!
30 30 # this allows simply push to this repo even without rhodecode
31 31 sys.exit(0)
32 if os.environ.get('RC_SKIP_HOOKS'):
32 if os.environ.get('RC_SKIP_HOOKS') or os.environ.get('RC_SKIP_SVN_HOOKS'):
33 33 sys.exit(0)
34 34 repo_path = os.getcwd()
35 35 push_data = sys.argv[1:]
General Comments 0
You need to be logged in to leave comments. Login now