author | Lucas Moscovicz <lmoscovicz@fb.com> |
Thu, 06 Feb 2014 14:57:25 -0800 | |
changeset 20424 | 1da346bad3d8 |
parent 20423 | ada289dfceb0 |
child 20425 | ca6aa8362f33 |
--- a/mercurial/revset.py Mon Feb 10 22:56:10 2014 +0100 +++ b/mercurial/revset.py Thu Feb 06 14:57:25 2014 -0800 @@ -334,7 +334,7 @@ raise error.ParseError(_("~ expects a number")) ps = set() cl = repo.changelog - for r in getset(repo, cl, x): + for r in getset(repo, baseset(cl), x): for i in range(n): r = cl.parentrevs(r)[0] ps.add(r)