[PATCH] revset id(): fix error text to say "id wants..." instead of "rev wants..."
Augie Fackler
durin42 at gmail.com
Tue Oct 12 23:34:59 CDT 2010
# HG changeset patch
# User Augie Fackler <durin42 at gmail.com>
# Date 1286944423 18000
# Node ID 3921e03c196c6ea437831499216c40f0b8178738
# Parent 52971985be14f12930a9809d375b97e1ee77d21a
revset id(): fix error text to say "id wants..." instead of "rev wants..."
diff --git a/mercurial/revset.py b/mercurial/revset.py
--- a/mercurial/revset.py
+++ b/mercurial/revset.py
@@ -174,8 +174,8 @@
# functions
def node(repo, subset, x):
- l = getargs(x, 1, 1, _("rev wants one argument"))
- n = getstring(l[0], _("rev wants a string"))
+ l = getargs(x, 1, 1, _("id wants one argument"))
+ n = getstring(l[0], _("id wants a string"))
if len(n) == 40:
rn = repo[n].rev()
else:
More information about the Mercurial-devel
mailing list