Mercurial > hg
comparison hgext/convert/hg.py @ 10939:9f6731b03906 stable
convert: mark strings for translation
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 18 Apr 2010 15:47:49 +0200 |
parents | 02d6149a480b |
children | 33010ff1fd6f |
comparison
equal
deleted
inserted
replaced
10938:02d6149a480b | 10939:9f6731b03906 |
---|---|
49 raise NoRepo(_('%s is not a local Mercurial repository') | 49 raise NoRepo(_('%s is not a local Mercurial repository') |
50 % path) | 50 % path) |
51 self.created.append(path) | 51 self.created.append(path) |
52 except error.RepoError: | 52 except error.RepoError: |
53 ui.traceback() | 53 ui.traceback() |
54 raise NoRepo("could not create hg repository %s as sink" | 54 raise NoRepo(_("could not create hg repository %s as sink") |
55 % path) | 55 % path) |
56 self.lock = None | 56 self.lock = None |
57 self.wlock = None | 57 self.wlock = None |
58 self.filemapmode = False | 58 self.filemapmode = False |
59 | 59 |
225 # repo, but some other bogus compatible-looking url | 225 # repo, but some other bogus compatible-looking url |
226 if not self.repo.local(): | 226 if not self.repo.local(): |
227 raise error.RepoError() | 227 raise error.RepoError() |
228 except error.RepoError: | 228 except error.RepoError: |
229 ui.traceback() | 229 ui.traceback() |
230 raise NoRepo("%s is not a local Mercurial repository" % path) | 230 raise NoRepo(_("%s is not a local Mercurial repository") % path) |
231 self.lastrev = None | 231 self.lastrev = None |
232 self.lastctx = None | 232 self.lastctx = None |
233 self._changescache = None | 233 self._changescache = None |
234 self.convertfp = None | 234 self.convertfp = None |
235 # Restrict converted revisions to startrev descendants | 235 # Restrict converted revisions to startrev descendants |