# HG changeset patch # User Augie Fackler # Date 2010-10-13 04:33:43 # Node ID 098dfb2b759606dc338e63de9380d5173db27224 # Parent 4bca87c29445a6fb67aebe7eaed3f89c171cae41 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 @@ def func(repo, subset, a, b): # 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: