changegroupsubset(): with the fix, prune() is actually useful in the testsuite
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sat, 24 Jul 2010 00:03:19 +0200
changeset 11664 8b3fea709bd2
parent 11663 c1b11ee12fe7
child 11665 1f7f8bc45240
changegroupsubset(): with the fix, prune() is actually useful in the testsuite
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Thu Jul 22 13:48:34 2010 +0200
+++ b/mercurial/localrepo.py	Sat Jul 24 00:03:19 2010 +0200
@@ -1370,7 +1370,6 @@
         # node that the recipient of the changegroup will already have, we can
         # also assume the recipient will have all the parents.  This function
         # prunes them from the set of missing nodes.
-        # XXX is it even useful? the testsuite doesn't trigger it
         def prune(revlog, missingnodes):
             hasset = set()
             # If a 'missing' filenode thinks it belongs to a changenode we