improve output of changegroup.scm hook

This commit is contained in:
Sebastian Sdorra
2011-08-23 16:13:01 +02:00
parent 48b37d688c
commit 60eea3541e

View File

@@ -49,4 +49,4 @@ def callback(ui, repo, hooktype, node=None, source=None, **kwargs):
if conn.code == 200:
print( "scm-hook executed successfully" )
else:
print( "scm-hook failed" )
print( "scm-hook failed with error code " + str(conn.code) )