Submitter | Yuya Nishihara |
---|---|
Date | Jan. 15, 2018, 1:26 p.m. |
Message ID | <79298fa195792c137194.1516022801@mimosa> |
Download | mbox | patch |
Permalink | /patch/26768/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -2535,7 +2535,7 @@ def getlogrevs(repo, pats, opts): return smartset.baseset(), None match, pats, slowpath = _makelogmatcher(repo, revs, pats, opts) if follow: - if slowpath or not pats: + if slowpath or match.always(): revs = dagop.revancestors(repo, revs, followfirst=followfirst) else: revs = _fileancestors(repo, revs, match, followfirst)