diff -r ad1b5e070f16 -r f7152a0d90df mercurial/subrepo.py --- a/mercurial/subrepo.py Thu Jul 12 10:03:50 2012 +0200 +++ b/mercurial/subrepo.py Thu Jul 12 10:41:56 2012 +0200 @@ -1185,7 +1185,7 @@ return True else: self._ui.warn(_('no branch checked out in subrepo %s\n' - 'cannot push revision %s') % + 'cannot push revision %s\n') % (self._relpath, self._state[1])) return False