Submitter | Pierre-Yves David |
---|---|
Date | Sept. 23, 2014, 10:47 p.m. |
Message ID | <248f0c8c29fd8c341845.1411512473@marginatus.alto.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/5939/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -832,11 +832,11 @@ def _follow(repo, subset, x, name, follo else: return baseset([]) else: s = _revancestors(repo, baseset([c.rev()]), followfirst) - return subset.filter(s.__contains__) + return subset & s def follow(repo, subset, x): """``follow([file])`` An alias for ``::.`` (ancestors of the working copy's first parent). If a filename is specified, the history of the given file is followed,