equal
deleted
inserted
replaced
307 self._ui.status(self._svncommand(['update', '-r', newrev])) |
307 self._ui.status(self._svncommand(['update', '-r', newrev])) |
308 return newrev |
308 return newrev |
309 |
309 |
310 def remove(self): |
310 def remove(self): |
311 if self.dirty(): |
311 if self.dirty(): |
312 self._repo.ui.warn('Not removing repo %s because' |
312 self._repo.ui.warn(_('not removing repo %s because' |
313 'it has changes.\n' % self._path) |
313 'it has changes.\n' % self._path)) |
314 return |
314 return |
315 self._repo.ui.note('removing subrepo %s\n' % self._path) |
315 self._repo.ui.note('removing subrepo %s\n' % self._path) |
316 shutil.rmtree(self._ctx.repo.join(self._path)) |
316 shutil.rmtree(self._ctx.repo.join(self._path)) |
317 |
317 |
318 def get(self, state): |
318 def get(self, state): |