D6707: revset: drop argument when it's None
av6 (Anton Shestakov)
phabricator at mercurial-scm.org
Tue Aug 6 09:02:36 EDT 2019
Closed by commit rHG911e25dc9d8c: revset: drop argument when it's None (authored by av6).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6707?vs=16107&id=16139
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D6707/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D6707
AFFECTED FILES
mercurial/revset.py
CHANGE DETAILS
diff --git a/mercurial/revset.py b/mercurial/revset.py
--- a/mercurial/revset.py
+++ b/mercurial/revset.py
@@ -1695,7 +1695,7 @@
parent. (EXPERIMENTAL)
"""
if x is None:
- stacks = stackmod.getstack(repo, x)
+ stacks = stackmod.getstack(repo)
else:
stacks = smartset.baseset([])
for revision in getset(repo, fullreposet(repo), x):
To: av6, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list