Mercurial > public > mercurial-scm > hg
comparison mercurial/revset.py @ 32435:bb5dc19484b8
revset: add parentheses after wdir since its a function
wdir was shown in help rather than wdir().
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Mon, 22 May 2017 00:54:02 +0530 |
parents | e8c043375b53 |
children | f064e2f72c49 |
comparison
equal
deleted
inserted
replaced
32434:69c864149d69 | 32435:bb5dc19484b8 |
---|---|
2128 Pattern matching is supported for `string`. See | 2128 Pattern matching is supported for `string`. See |
2129 :hg:`help revisions.patterns`. | 2129 :hg:`help revisions.patterns`. |
2130 """ | 2130 """ |
2131 return author(repo, subset, x) | 2131 return author(repo, subset, x) |
2132 | 2132 |
2133 @predicate('wdir', safe=True) | 2133 @predicate('wdir()', safe=True) |
2134 def wdir(repo, subset, x): | 2134 def wdir(repo, subset, x): |
2135 """Working directory. (EXPERIMENTAL)""" | 2135 """Working directory. (EXPERIMENTAL)""" |
2136 # i18n: "wdir" is a keyword | 2136 # i18n: "wdir" is a keyword |
2137 getargs(x, 0, 0, _("wdir takes no arguments")) | 2137 getargs(x, 0, 0, _("wdir takes no arguments")) |
2138 if node.wdirrev in subset or isinstance(subset, fullreposet): | 2138 if node.wdirrev in subset or isinstance(subset, fullreposet): |