Mercurial > public > mercurial-scm > hg
comparison mercurial/subrepo.py @ 10183:572dd10fa308
subrepo: mark string for translation and fix case
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Fri, 01 Jan 2010 18:46:24 +0100 |
parents | cd477be6f2fc |
children | 29e3c4a7699b |
comparison
equal
deleted
inserted
replaced
10182:eb0665db0c5c | 10183:572dd10fa308 |
---|---|
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): |