changegroupsubset: remove unneeded cast to list
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Fri, 16 Jul 2010 18:35:15 +0200
changeset 11603 2eab5025f804
parent 11602 ba2520dd1e29
child 11604 c5d40818b270
child 11606 326ab8727a93
changegroupsubset: remove unneeded cast to list
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Fri Jul 16 14:48:52 2010 +0200
+++ b/mercurial/localrepo.py	Fri Jul 16 18:35:15 2010 +0200
@@ -1313,7 +1313,6 @@
         for n in bases:
             knownheads.update(cl.parents(n))
         knownheads.discard(nullid)
-        knownheads = list(knownheads)
         if knownheads:
             # Now that we know what heads are known, we can compute which
             # changesets are known.  The recipient must know about all