revset: add parentheses after wdir since its a function
authorPulkit Goyal <7895pulkit@gmail.com>
Mon, 22 May 2017 00:54:02 +0530
changeset 32435 bb5dc19484b8
parent 32434 69c864149d69
child 32436 f064e2f72c49
revset: add parentheses after wdir since its a function wdir was shown in help rather than wdir().
mercurial/revset.py
--- a/mercurial/revset.py	Mon May 22 15:05:18 2017 -0400
+++ b/mercurial/revset.py	Mon May 22 00:54:02 2017 +0530
@@ -2130,7 +2130,7 @@
     """
     return author(repo, subset, x)
 
-@predicate('wdir', safe=True)
+@predicate('wdir()', safe=True)
 def wdir(repo, subset, x):
     """Working directory. (EXPERIMENTAL)"""
     # i18n: "wdir" is a keyword