mercurial/commands.py
changeset 320 292e10b5831a
parent 319 9ab17e83bce3
child 329 67c19ad374a9
child 330 27d08c0c2a7e
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -446,6 +446,7 @@ def push(ui, repo, dest):
     else:
         r = os.system(cmd)
         os.kill(child, signal.SIGTERM)
+        return r
 
 def rawcommit(ui, repo, files, **rc):
     "raw commit interface"