changeset 39923 | 61f39a892168 |
parent 39916 | 1857f50a9643 |
child 40041 | ca9d0c93acea |
--- a/mercurial/scmutil.py Sat Sep 22 14:40:33 2018 +0200 +++ b/mercurial/scmutil.py Thu Sep 27 12:06:32 2018 +0200 @@ -984,9 +984,8 @@ sortfunc = lambda ns: torev(ns[0][0]) rels = [] for ns, s in sorted(replacements.items(), key=sortfunc): - for n in ns: - rel = (unfi[n], tuple(unfi[m] for m in s)) - rels.append(rel) + rel = (tuple(unfi[n] for n in ns), tuple(unfi[m] for m in s)) + rels.append(rel) if rels: obsolete.createmarkers(repo, rels, operation=operation, metadata=metadata)