Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/subrepo.py @ 10510:f77f3383c666 stable
i18n: mark more strings for translation
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 19 Feb 2010 02:23:38 +0100 |
parents | 4f38d03d4975 |
children | 664bb0ce95ed 05856e682521 |
comparison
equal
deleted
inserted
replaced
10509:3e7e789d9494 | 10510:f77f3383c666 |
---|---|
334 def remove(self): | 334 def remove(self): |
335 if self.dirty(): | 335 if self.dirty(): |
336 self._ui.warn(_('not removing repo %s because ' | 336 self._ui.warn(_('not removing repo %s because ' |
337 'it has changes.\n' % self._path)) | 337 'it has changes.\n' % self._path)) |
338 return | 338 return |
339 self._ui.note('removing subrepo %s\n' % self._path) | 339 self._ui.note(_('removing subrepo %s\n') % self._path) |
340 shutil.rmtree(self._ctx.repo.join(self._path)) | 340 shutil.rmtree(self._ctx.repo.join(self._path)) |
341 | 341 |
342 def get(self, state): | 342 def get(self, state): |
343 status = self._svncommand(['checkout', state[0], '--revision', state[1]]) | 343 status = self._svncommand(['checkout', state[0], '--revision', state[1]]) |
344 if not re.search('Checked out revision [\d]+.', status): | 344 if not re.search('Checked out revision [\d]+.', status): |