##// END OF EJS Templates
revset: document wdir() as an experimental function...
Yuya Nishihara -
r30701:8b1d8724 default
parent child Browse files
Show More
@@ -2259,9 +2259,9 b' def user(repo, subset, x):'
2259 """
2259 """
2260 return author(repo, subset, x)
2260 return author(repo, subset, x)
2261
2261
2262 # experimental
2263 @predicate('wdir', safe=True)
2262 @predicate('wdir', safe=True)
2264 def wdir(repo, subset, x):
2263 def wdir(repo, subset, x):
2264 """Working directory. (EXPERIMENTAL)"""
2265 # i18n: "wdir" is a keyword
2265 # i18n: "wdir" is a keyword
2266 getargs(x, 0, 0, _("wdir takes no arguments"))
2266 getargs(x, 0, 0, _("wdir takes no arguments"))
2267 if node.wdirrev in subset or isinstance(subset, fullreposet):
2267 if node.wdirrev in subset or isinstance(subset, fullreposet):
@@ -2809,8 +2809,8 b' Bogus function with a similar internal n'
2809 [255]
2809 [255]
2810
2810
2811 Undocumented functions aren't suggested as similar either
2811 Undocumented functions aren't suggested as similar either
2812 $ log 'wdir2()'
2812 $ log 'tagged2()'
2813 hg: parse error: unknown identifier: wdir2
2813 hg: parse error: unknown identifier: tagged2
2814 [255]
2814 [255]
2815
2815
2816 multiple revspecs
2816 multiple revspecs
General Comments 0
You need to be logged in to leave comments. Login now