comparison mercurial/subrepo.py @ 11111:d2da9e6dd13e

subrepo: print pushing url
author Edouard Gomez <ed.gomez@free.fr>
date Sat, 01 May 2010 23:05:22 +0200
parents a2bc2f2d77a9
children 4a9bee613737
comparison
equal deleted inserted replaced
11110:22f5ad0b5857 11111:d2da9e6dd13e
264 subs = c.substate # only repos that are committed 264 subs = c.substate # only repos that are committed
265 for s in sorted(subs): 265 for s in sorted(subs):
266 if not c.sub(s).push(force): 266 if not c.sub(s).push(force):
267 return False 267 return False
268 268
269 self._repo.ui.status(_('pushing subrepo %s\n') % self._path)
270 dsturl = _abssource(self._repo, True) 269 dsturl = _abssource(self._repo, True)
270 self._repo.ui.status(_('pushing subrepo %s to %s\n') %
271 (self._path, dsturl))
271 other = hg.repository(self._repo.ui, dsturl) 272 other = hg.repository(self._repo.ui, dsturl)
272 return self._repo.push(other, force) 273 return self._repo.push(other, force)
273 274
274 class svnsubrepo(object): 275 class svnsubrepo(object):
275 def __init__(self, ctx, path, state): 276 def __init__(self, ctx, path, state):