diff -r ff72bd52d56a -r 9d2b2df2c2ba mercurial/exchange.py --- 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()