# HG changeset patch # User Benoit Boissinot # Date 2010-07-23 22:03:19 # Node ID 8b3fea709bd2e17d12f00892651a81525b7b9f3b # Parent c1b11ee12fe72771441296968a069ddcc55444e2 changegroupsubset(): with the fix, prune() is actually useful in the testsuite diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -1370,7 +1370,6 @@ class localrepository(repo.repository): # 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