hgext/convert/git.py
branchstable
changeset 10939 9f6731b03906
parent 10938 02d6149a480b
child 10985 7fab6ae3f688
--- a/hgext/convert/git.py	Sun Apr 18 15:47:49 2010 +0200
+++ b/hgext/convert/git.py	Sun Apr 18 15:47:49 2010 +0200
@@ -7,6 +7,7 @@
 
 import os
 from mercurial import util
+from mercurial.i18n import _
 
 from common import NoRepo, commit, converter_source, checktool
 
@@ -35,7 +36,7 @@
         if os.path.isdir(path + "/.git"):
             path += "/.git"
         if not os.path.exists(path + "/objects"):
-            raise NoRepo("%s does not look like a Git repository" % path)
+            raise NoRepo(_("%s does not look like a Git repository") % path)
 
         checktool('git', 'git')