revset id(): fix error text to say "id wants..." instead of "rev wants..."
authorAugie Fackler <durin42@gmail.com>
Tue, 12 Oct 2010 23:33:43 -0500
changeset 12733 098dfb2b7596
parent 12732 4bca87c29445
child 12734 5dfd1c49dcc5
revset id(): fix error text to say "id wants..." instead of "rev wants..."
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: