mercurial/exchange.py
changeset 44452 9d2b2df2c2ba
parent 44372 8407031f195f
child 44545 bd7b2c8d06cc
--- a/mercurial/exchange.py	Fri Mar 06 10:52:44 2020 +0100
+++ b/mercurial/exchange.py	Fri Mar 06 13:27:41 2020 -0500
@@ -1679,12 +1679,12 @@
     def headsofdiff(h1, h2):
         """Returns heads(h1 % h2)"""
         res = unfi.set(b'heads(%ln %% %ln)', h1, h2)
-        return set(ctx.node() for ctx in res)
+        return {ctx.node() for ctx in res}
 
     def headsofunion(h1, h2):
         """Returns heads((h1 + h2) - null)"""
         res = unfi.set(b'heads((%ln + %ln - null))', h1, h2)
-        return set(ctx.node() for ctx in res)
+        return {ctx.node() for ctx in res}
 
     while True:
         old_heads = unficl.heads()