Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 11664:8b3fea709bd2
changegroupsubset(): with the fix, prune() is actually useful in the testsuite
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sat, 24 Jul 2010 00:03:19 +0200 |
parents | a3bfdf212094 |
children | 1f7f8bc45240 |
line wrap: on
line diff
--- 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