Submitter | Pierre-Yves David |
---|---|
Date | Oct. 17, 2014, 5:49 p.m. |
Message ID | <954383f603744d8408a0.1413568170@marginatus.alto.octopoid.net> |
Download | mbox | patch |
Permalink | /patch/6375/ |
State | Deferred |
Headers | show |
Comments
Patch
diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -1257,11 +1257,11 @@ def parentspec(repo, subset, x, n): raise ValueError except (TypeError, ValueError): raise error.ParseError(_("^ expects a number 0, 1, or 2")) ps = set() cl = repo.changelog - for r in getset(repo, baseset(cl), x): + for r in getset(repo, fullreposet(repo), x): if n == 0: ps.add(r) elif n == 1: ps.add(cl.parentrevs(r)[0]) elif n == 2: