##// END OF EJS Templates
cleanupnode: do not use generator for node mapping...
Octobus -
r33352:967ac37f default
parent child Browse files
Show More
@@ -638,7 +638,7 b' def cleanupnodes(repo, mapping, operatio'
638 638 isobs = unfi.obsstore.successors.__contains__
639 639 torev = unfi.changelog.rev
640 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 642 for n, s in sorted(mapping.items(), key=sortfunc)
643 643 if s or not isobs(n)]
644 644 obsolete.createmarkers(repo, rels, operation=operation)
General Comments 0
You need to be logged in to leave comments. Login now