equal
deleted
inserted
replaced
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")) |