Show More
@@ -334,7 +334,7 b' def ancestorspec(repo, subset, x, n):' | |||||
334 | raise error.ParseError(_("~ expects a number")) |
|
334 | raise error.ParseError(_("~ expects a number")) | |
335 | ps = set() |
|
335 | ps = set() | |
336 | cl = repo.changelog |
|
336 | cl = repo.changelog | |
337 | for r in getset(repo, cl, x): |
|
337 | for r in getset(repo, baseset(cl), x): | |
338 | for i in range(n): |
|
338 | for i in range(n): | |
339 | r = cl.parentrevs(r)[0] |
|
339 | r = cl.parentrevs(r)[0] | |
340 | ps.add(r) |
|
340 | ps.add(r) |
General Comments 0
You need to be logged in to leave comments.
Login now