[PATCH 01 of 10] revset: add braces after wdir since its a function
Pulkit Goyal
7895pulkit at gmail.com
Mon May 22 20:52:11 UTC 2017
# HG changeset patch
# User Pulkit Goyal <7895pulkit at gmail.com>
# Date 1495394642 -19800
# Mon May 22 00:54:02 2017 +0530
# Node ID 4f81eb36137f66f8ce2a271404255fa6e0d84634
# Parent e8c043375b53b30c4b468687f08323cbeeb452ef
revset: add braces after wdir since its a function
wdir was shown in help rather than wdir().
diff --git a/mercurial/revset.py b/mercurial/revset.py
--- a/mercurial/revset.py
+++ b/mercurial/revset.py
@@ -2130,7 +2130,7 @@
"""
return author(repo, subset, x)
- at predicate('wdir', safe=True)
+ at predicate('wdir()', safe=True)
def wdir(repo, subset, x):
"""Working directory. (EXPERIMENTAL)"""
# i18n: "wdir" is a keyword
More information about the Mercurial-devel
mailing list