Mercurial > public > mercurial-scm > hg
comparison mercurial/subrepo.py @ 10227:192c39586787
subrepo: fix typo in help text
author | Jens B?ckman <jens.backman@gmail.com> |
---|---|
date | Sat, 09 Jan 2010 23:12:21 +0100 |
parents | c2e2a5e6c36b |
children | 0bc93fa2cf2b |
comparison
equal
deleted
inserted
replaced
10226:e3e41e5e7ff4 | 10227:192c39586787 |
---|---|
310 self._ui.status(self._svncommand(['update', '-r', newrev])) | 310 self._ui.status(self._svncommand(['update', '-r', newrev])) |
311 return newrev | 311 return newrev |
312 | 312 |
313 def remove(self): | 313 def remove(self): |
314 if self.dirty(): | 314 if self.dirty(): |
315 self._repo.ui.warn(_('not removing repo %s because' | 315 self._repo.ui.warn(_('not removing repo %s because ' |
316 'it has changes.\n' % self._path)) | 316 'it has changes.\n' % self._path)) |
317 return | 317 return |
318 self._repo.ui.note('removing subrepo %s\n' % self._path) | 318 self._repo.ui.note('removing subrepo %s\n' % self._path) |
319 shutil.rmtree(self._ctx.repo.join(self._path)) | 319 shutil.rmtree(self._ctx.repo.join(self._path)) |
320 | 320 |