Index: git_cl.py |
diff --git a/git_cl.py b/git_cl.py |
index e19d38c046483746415333540187685d83807384..35785ebdf0443e4c86784f4c820b0a7c71ca9103 100755 |
--- a/git_cl.py |
+++ b/git_cl.py |
@@ -2528,7 +2528,7 @@ class _GerritChangelistImpl(_ChangelistCodereviewBase): |
print 'git-cl: Added Change-Id to commit message.' |
return new_log_desc |
else: |
- print >> sys.stderr, 'ERROR: Gerrit commit-msg hook not available.' |
+ DieWithError('ERROR: Gerrit commit-msg hook not installed.') |
def SetCQState(self, new_state): |
"""Sets the Commit-Queue label assuming canonical CQ config for Gerrit.""" |