equal
deleted
inserted
replaced
4360 try: |
4360 try: |
4361 # push subrepos depth-first for coherent ordering |
4361 # push subrepos depth-first for coherent ordering |
4362 c = repo[''] |
4362 c = repo[''] |
4363 subs = c.substate # only repos that are committed |
4363 subs = c.substate # only repos that are committed |
4364 for s in sorted(subs): |
4364 for s in sorted(subs): |
4365 if not c.sub(s).push(opts.get('force')): |
4365 if not c.sub(s).push(opts): |
4366 return False |
4366 return False |
4367 finally: |
4367 finally: |
4368 del repo._subtoppath |
4368 del repo._subtoppath |
4369 result = repo.push(other, opts.get('force'), revs=revs, |
4369 result = repo.push(other, opts.get('force'), revs=revs, |
4370 newbranch=opts.get('new_branch')) |
4370 newbranch=opts.get('new_branch')) |