Show More
@@ -984,9 +984,8 b' def cleanupnodes(repo, replacements, ope' | |||||
984 | sortfunc = lambda ns: torev(ns[0][0]) |
|
984 | sortfunc = lambda ns: torev(ns[0][0]) | |
985 | rels = [] |
|
985 | rels = [] | |
986 | for ns, s in sorted(replacements.items(), key=sortfunc): |
|
986 | for ns, s in sorted(replacements.items(), key=sortfunc): | |
987 | for n in ns: |
|
987 | rel = (tuple(unfi[n] for n in ns), tuple(unfi[m] for m in s)) | |
988 | rel = (unfi[n], tuple(unfi[m] for m in s)) |
|
988 | rels.append(rel) | |
989 | rels.append(rel) |
|
|||
990 | if rels: |
|
989 | if rels: | |
991 | obsolete.createmarkers(repo, rels, operation=operation, |
|
990 | obsolete.createmarkers(repo, rels, operation=operation, | |
992 | metadata=metadata) |
|
991 | metadata=metadata) |
General Comments 0
You need to be logged in to leave comments.
Login now