changeset 44452 | 9d2b2df2c2ba |
parent 44060 | a61287a95dc3 |
child 45144 | c93dd9d9f1e6 |
--- a/mercurial/repair.py Fri Mar 06 10:52:44 2020 +0100 +++ b/mercurial/repair.py Fri Mar 06 13:27:41 2020 -0500 @@ -351,7 +351,7 @@ def safestriproots(ui, repo, nodes): """return list of roots of nodes where descendants are covered by nodes""" torev = repo.unfiltered().changelog.rev - revs = set(torev(n) for n in nodes) + revs = {torev(n) for n in nodes} # tostrip = wanted - unsafe = wanted - ancestors(orphaned) # orphaned = affected - wanted # affected = descendants(roots(wanted))