--- a/mercurial/commands.py Thu Feb 24 03:13:48 2011 +0100
+++ b/mercurial/commands.py Thu Feb 24 15:35:22 2011 +0100
@@ -1366,7 +1366,7 @@
format = opts.get('format', 0)
if format not in (0, 1):
- raise util.Abort("unknown format %d" % format)
+ raise util.Abort(_("unknown format %d") % format)
if not r:
r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_)
@@ -2279,7 +2279,7 @@
rev = "tip"
if num or branch or tags:
raise util.Abort(
- "can't query remote revision number, branch, or tags")
+ _("can't query remote revision number, branch, or tags"))
output = [hexfunc(repo.lookup(rev))]
elif not rev:
ctx = repo[None]