equal
deleted
inserted
replaced
1183 (current.split('/', 2)[2], self._relpath)) |
1183 (current.split('/', 2)[2], self._relpath)) |
1184 self._gitcommand(cmd + ['origin', current]) |
1184 self._gitcommand(cmd + ['origin', current]) |
1185 return True |
1185 return True |
1186 else: |
1186 else: |
1187 self._ui.warn(_('no branch checked out in subrepo %s\n' |
1187 self._ui.warn(_('no branch checked out in subrepo %s\n' |
1188 'cannot push revision %s') % |
1188 'cannot push revision %s\n') % |
1189 (self._relpath, self._state[1])) |
1189 (self._relpath, self._state[1])) |
1190 return False |
1190 return False |
1191 |
1191 |
1192 def remove(self): |
1192 def remove(self): |
1193 if self._gitmissing(): |
1193 if self._gitmissing(): |