changeset 12733:098dfb2b7596

revset id(): fix error text to say "id wants..." instead of "rev wants..."
author Augie Fackler <durin42@gmail.com>
date Tue, 12 Oct 2010 23:33:43 -0500
parents 4bca87c29445
children 5dfd1c49dcc5
files mercurial/revset.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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: