# HG changeset patch # User Augie Fackler # Date 1286944423 18000 # Node ID 098dfb2b759606dc338e63de9380d5173db27224 # Parent 4bca87c29445a6fb67aebe7eaed3f89c171cae41 revset id(): fix error text to say "id wants..." instead of "rev wants..." diff -r 4bca87c29445 -r 098dfb2b7596 mercurial/revset.py --- a/mercurial/revset.py Thu Oct 14 22:53:17 2010 +0200 +++ b/mercurial/revset.py Tue Oct 12 23:33:43 2010 -0500 @@ -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: