mercurial/revset.py
changeset 12733 098dfb2b7596
parent 12716 c7e619e30ba3
child 12736 7e14e67e6622
--- 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: