Show More
@@ -383,7 +383,10 b' def ancestorspec(repo, subset, x, n, ord' | |||
|
383 | 383 | cl = repo.changelog |
|
384 | 384 | for r in getset(repo, fullreposet(repo), x): |
|
385 | 385 | for i in range(n): |
|
386 | r = cl.parentrevs(r)[0] | |
|
386 | try: | |
|
387 | r = cl.parentrevs(r)[0] | |
|
388 | except error.WdirUnsupported: | |
|
389 | r = repo[r].parents()[0].rev() | |
|
387 | 390 | ps.add(r) |
|
388 | 391 | return subset & ps |
|
389 | 392 |
General Comments 0
You need to be logged in to leave comments.
Login now