##// END OF EJS Templates
revset id(): fix error text to say "id wants..." instead of "rev wants..."
Augie Fackler -
r12733:098dfb2b default
parent child Browse files
Show More
@@ -174,8 +174,8 b' def func(repo, subset, a, b):'
174 # functions
174 # functions
175
175
176 def node(repo, subset, x):
176 def node(repo, subset, x):
177 l = getargs(x, 1, 1, _("rev wants one argument"))
177 l = getargs(x, 1, 1, _("id wants one argument"))
178 n = getstring(l[0], _("rev wants a string"))
178 n = getstring(l[0], _("id wants a string"))
179 if len(n) == 40:
179 if len(n) == 40:
180 rn = repo[n].rev()
180 rn = repo[n].rev()
181 else:
181 else:
General Comments 0
You need to be logged in to leave comments. Login now