mercurial/revset.py
branchstable
changeset 12859 76066903ae08
parent 12855 d01c21002e82
child 12928 a5f7f1e9340e
equal deleted inserted replaced
12858:6eec9d7c6e0f 12859:76066903ae08
   173 
   173 
   174 # functions
   174 # functions
   175 
   175 
   176 def node(repo, subset, x):
   176 def node(repo, subset, x):
   177     """``id(string)``
   177     """``id(string)``
   178     Revision non-ambiguously specified by the given hex string prefix
   178     Revision non-ambiguously specified by the given hex string prefix.
   179     """
   179     """
   180     # i18n: "id" is a keyword
   180     # i18n: "id" is a keyword
   181     l = getargs(x, 1, 1, _("id requires one argument"))
   181     l = getargs(x, 1, 1, _("id requires one argument"))
   182     # i18n: "id" is a keyword
   182     # i18n: "id" is a keyword
   183     n = getstring(l[0], _("id requires a string"))
   183     n = getstring(l[0], _("id requires a string"))