mercurial/fancyopts.py
changeset 44452 9d2b2df2c2ba
parent 43474 70d42e2ad9b4
child 45837 2eb8ad899fa6
--- a/mercurial/fancyopts.py	Fri Mar 06 10:52:44 2020 +0100
+++ b/mercurial/fancyopts.py	Fri Mar 06 13:27:41 2020 -0500
@@ -314,7 +314,7 @@
     argmap = {}
     defmap = {}
     negations = {}
-    alllong = set(o[1] for o in options)
+    alllong = {o[1] for o in options}
 
     for option in options:
         if len(option) == 5: