hgext/convert/hg.py
branchstable
changeset 10939 9f6731b03906
parent 10938 02d6149a480b
child 11134 33010ff1fd6f
--- a/hgext/convert/hg.py	Sun Apr 18 15:47:49 2010 +0200
+++ b/hgext/convert/hg.py	Sun Apr 18 15:47:49 2010 +0200
@@ -51,7 +51,7 @@
                 self.created.append(path)
             except error.RepoError:
                 ui.traceback()
-                raise NoRepo("could not create hg repository %s as sink"
+                raise NoRepo(_("could not create hg repository %s as sink")
                              % path)
         self.lock = None
         self.wlock = None
@@ -227,7 +227,7 @@
                 raise error.RepoError()
         except error.RepoError:
             ui.traceback()
-            raise NoRepo("%s is not a local Mercurial repository" % path)
+            raise NoRepo(_("%s is not a local Mercurial repository") % path)
         self.lastrev = None
         self.lastctx = None
         self._changescache = None