Mercurial > public > mercurial-scm > hg
comparison mercurial/subrepo.py @ 17140:54714fc4ae33 stable
subrepo: add missing newline in Git warning message
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Thu, 12 Jul 2012 09:58:40 +0200 |
parents | ba0286e149aa |
children | f7152a0d90df |
comparison
equal
deleted
inserted
replaced
17083:b3f005d3105a | 17140:54714fc4ae33 |
---|---|
1177 (current.split('/', 2)[2], self._relpath)) | 1177 (current.split('/', 2)[2], self._relpath)) |
1178 self._gitcommand(cmd + ['origin', current]) | 1178 self._gitcommand(cmd + ['origin', current]) |
1179 return True | 1179 return True |
1180 else: | 1180 else: |
1181 self._ui.warn(_('no branch checked out in subrepo %s\n' | 1181 self._ui.warn(_('no branch checked out in subrepo %s\n' |
1182 'cannot push revision %s') % | 1182 'cannot push revision %s\n') % |
1183 (self._relpath, self._state[1])) | 1183 (self._relpath, self._state[1])) |
1184 return False | 1184 return False |
1185 | 1185 |
1186 def remove(self): | 1186 def remove(self): |
1187 if self._gitmissing(): | 1187 if self._gitmissing(): |