mercurial/utils/storageutil.py
changeset 44452 9d2b2df2c2ba
parent 44060 a61287a95dc3
child 45404 c4a4a49589bf
--- a/mercurial/utils/storageutil.py	Fri Mar 06 10:52:44 2020 +0100
+++ b/mercurial/utils/storageutil.py	Fri Mar 06 13:27:41 2020 -0500
@@ -364,7 +364,7 @@
     if nodesorder == b'nodes':
         revs = [frev(n) for n in nodes]
     elif nodesorder == b'linear':
-        revs = set(frev(n) for n in nodes)
+        revs = {frev(n) for n in nodes}
         revs = dagop.linearize(revs, store.parentrevs)
     else:  # storage and default
         revs = sorted(frev(n) for n in nodes)