mercurial/commands.py
changeset 11078 37d1b20168d1
parent 11063 eb23c876c111
parent 11067 49e14ec67144
child 11088 c4347e48b0d0
child 11090 70a0acfe51d6
--- a/mercurial/commands.py	Sat May 01 15:14:22 2010 -0500
+++ b/mercurial/commands.py	Sat May 01 15:15:35 2010 -0500
@@ -2474,7 +2474,8 @@
     c = repo['']
     subs = c.substate # only repos that are committed
     for s in sorted(subs):
-        c.sub(s).push(opts.get('force'))
+        if not c.sub(s).push(opts.get('force')):
+            return False
 
     r = repo.push(other, opts.get('force'), revs=revs)
     return r == 0