equal
deleted
inserted
replaced
2472 |
2472 |
2473 # push subrepos depth-first for coherent ordering |
2473 # push subrepos depth-first for coherent ordering |
2474 c = repo[''] |
2474 c = repo[''] |
2475 subs = c.substate # only repos that are committed |
2475 subs = c.substate # only repos that are committed |
2476 for s in sorted(subs): |
2476 for s in sorted(subs): |
2477 c.sub(s).push(opts.get('force')) |
2477 if not c.sub(s).push(opts.get('force')): |
|
2478 return False |
2478 |
2479 |
2479 r = repo.push(other, opts.get('force'), revs=revs) |
2480 r = repo.push(other, opts.get('force'), revs=revs) |
2480 return r == 0 |
2481 return r == 0 |
2481 |
2482 |
2482 def recover(ui, repo): |
2483 def recover(ui, repo): |