mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
improve output of changegroup.scm hook
This commit is contained in:
@@ -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) )
|
||||
|
||||
Reference in New Issue
Block a user