changeset 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 69c864149d69
children f064e2f72c49
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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