equal
deleted
inserted
replaced
4417 try: |
4417 try: |
4418 # push subrepos depth-first for coherent ordering |
4418 # push subrepos depth-first for coherent ordering |
4419 c = repo[''] |
4419 c = repo[''] |
4420 subs = c.substate # only repos that are committed |
4420 subs = c.substate # only repos that are committed |
4421 for s in sorted(subs): |
4421 for s in sorted(subs): |
4422 if not c.sub(s).push(opts): |
4422 if c.sub(s).push(opts) == 0: |
4423 return False |
4423 return False |
4424 finally: |
4424 finally: |
4425 del repo._subtoppath |
4425 del repo._subtoppath |
4426 result = repo.push(other, opts.get('force'), revs=revs, |
4426 result = repo.push(other, opts.get('force'), revs=revs, |
4427 newbranch=opts.get('new_branch')) |
4427 newbranch=opts.get('new_branch')) |