mercurial/subrepo.py
branchstable
changeset 16022 04604d1a9fc3
parent 15912 2bd54ffaa27e
child 16072 bcb973abcc0b
child 16196 8ae7626d8bf1
equal deleted inserted replaced
16021:7f47873d7484 16022:04604d1a9fc3
   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))