mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +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:
|
if conn.code == 200:
|
||||||
print( "scm-hook executed successfully" )
|
print( "scm-hook executed successfully" )
|
||||||
else:
|
else:
|
||||||
print( "scm-hook failed" )
|
print( "scm-hook failed with error code " + str(conn.code) )
|
||||||
|
|||||||
Reference in New Issue
Block a user