hg push: propagate return code
authormpm@selenic.com
Sun, 12 Jun 2005 20:39:08 -0800
changeset 320 292e10b5831a
parent 319 9ab17e83bce3
child 321 73b8a8a059ec
child 329 67c19ad374a9
hg push: propagate return code -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hg push: propagate return code manifest hash: 3c4c5a0eba4c2eb431e4830fafe3138c12f9bddf -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCrQ3sywK+sNU5EO8RAkGpAJ40HsYprOWEZzmqw47ZYvZukMzKvgCeIGfD H6gB6idJV4K2SpEaFUByRYE= =LV1Z -----END PGP SIGNATURE-----
mercurial/commands.py
--- a/mercurial/commands.py	Sun Jun 12 19:35:41 2005 -0800
+++ b/mercurial/commands.py	Sun Jun 12 20:39:08 2005 -0800
@@ -446,6 +446,7 @@
     else:
         r = os.system(cmd)
         os.kill(child, signal.SIGTERM)
+        return r
 
 def rawcommit(ui, repo, files, **rc):
     "raw commit interface"