Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 11652:08a269d9c4ca
fix comment
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Thu, 22 Jul 2010 15:32:26 +0200 |
parents | 801533a52799 |
children | eefa362d0b45 |
comparison
equal
deleted
inserted
replaced
11651:817258259bc9 | 11652:08a269d9c4ca |
---|---|
1348 # prunes them from the set of missing nodes. | 1348 # prunes them from the set of missing nodes. |
1349 def prune_parents(revlog, hasset, msngset): | 1349 def prune_parents(revlog, hasset, msngset): |
1350 for r in revlog.ancestors(*[revlog.rev(n) for n in hasset]): | 1350 for r in revlog.ancestors(*[revlog.rev(n) for n in hasset]): |
1351 msngset.pop(revlog.node(r), None) | 1351 msngset.pop(revlog.node(r), None) |
1352 | 1352 |
1353 # Use the information collected in collect_manifests_and_files to say | 1353 # Use the information collected in changegroup.collector() to say |
1354 # which changenode any manifestnode belongs to. | 1354 # which changenode any manifestnode belongs to. |
1355 def lookup_manifest_link(mnfstnode): | 1355 def lookup_manifest_link(mnfstnode): |
1356 return msng_mnfst_set[mnfstnode] | 1356 return msng_mnfst_set[mnfstnode] |
1357 | 1357 |
1358 # A function generating function that sets up the initial environment | 1358 # A function generating function that sets up the initial environment |