Show More
@@ -638,7 +638,7 b' def cleanupnodes(repo, mapping, operatio' | |||||
638 | isobs = unfi.obsstore.successors.__contains__ |
|
638 | isobs = unfi.obsstore.successors.__contains__ | |
639 | torev = unfi.changelog.rev |
|
639 | torev = unfi.changelog.rev | |
640 | sortfunc = lambda ns: torev(ns[0]) |
|
640 | sortfunc = lambda ns: torev(ns[0]) | |
641 | rels = [(unfi[n], (unfi[m] for m in s)) |
|
641 | rels = [(unfi[n], tuple(unfi[m] for m in s)) | |
642 | for n, s in sorted(mapping.items(), key=sortfunc) |
|
642 | for n, s in sorted(mapping.items(), key=sortfunc) | |
643 | if s or not isobs(n)] |
|
643 | if s or not isobs(n)] | |
644 | obsolete.createmarkers(repo, rels, operation=operation) |
|
644 | obsolete.createmarkers(repo, rels, operation=operation) |
General Comments 0
You need to be logged in to leave comments.
Login now