diff 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
line wrap: on
line diff
--- a/mercurial/subrepo.py	Sat May 01 23:05:21 2010 +0200
+++ b/mercurial/subrepo.py	Sat May 01 23:05:22 2010 +0200
@@ -266,8 +266,9 @@
             if not c.sub(s).push(force):
                 return False
 
-        self._repo.ui.status(_('pushing subrepo %s\n') % self._path)
         dsturl = _abssource(self._repo, True)
+        self._repo.ui.status(_('pushing subrepo %s to %s\n') %
+            (self._path, dsturl))
         other = hg.repository(self._repo.ui, dsturl)
         return self._repo.push(other, force)