hgext/strip.py
changeset 44452 9d2b2df2c2ba
parent 43117 8ff1ecfadcd1
child 44856 b7808443ed6a
--- a/hgext/strip.py	Fri Mar 06 10:52:44 2020 +0100
+++ b/hgext/strip.py	Fri Mar 06 13:27:41 2020 -0500
@@ -228,7 +228,7 @@
             for p in repo.dirstate.parents()
         )
 
-        rootnodes = set(cl.node(r) for r in roots)
+        rootnodes = {cl.node(r) for r in roots}
 
         q = getattr(repo, 'mq', None)
         if q is not None and q.applied: