equal
deleted
inserted
replaced
526 |
526 |
527 # push subrepos depth-first for coherent ordering |
527 # push subrepos depth-first for coherent ordering |
528 c = self._repo[''] |
528 c = self._repo[''] |
529 subs = c.substate # only repos that are committed |
529 subs = c.substate # only repos that are committed |
530 for s in sorted(subs): |
530 for s in sorted(subs): |
531 if not c.sub(s).push(opts): |
531 if c.sub(s).push(opts) == 0: |
532 return False |
532 return False |
533 |
533 |
534 dsturl = _abssource(self._repo, True) |
534 dsturl = _abssource(self._repo, True) |
535 self._repo.ui.status(_('pushing subrepo %s to %s\n') % |
535 self._repo.ui.status(_('pushing subrepo %s to %s\n') % |
536 (subrelpath(self), dsturl)) |
536 (subrelpath(self), dsturl)) |