/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/btree_index.py

  • Committer: John Arbash Meinel
  • Date: 2009-08-13 19:56:26 UTC
  • mto: This revision was merged to the branch mainline in revision 4613.
  • Revision ID: john@arbash-meinel.com-20090813195626-tlsu5cexc1q8lzmr
Name the specific index api _find_ancestors, and the public CombinedGraphIndex api find_ancestry()

Show diffs side-by-side

added added

removed removed

Lines of Context:
1134
1134
                    else:
1135
1135
                        yield (self, next_sub_key, value)
1136
1136
 
1137
 
    def find_ancestry(self, keys, ref_list_num, parent_map, missing_keys):
 
1137
    def _find_ancestors(self, keys, ref_list_num, parent_map, missing_keys):
1138
1138
        """Find the parent_map information for the set of keys.
1139
1139
 
1140
1140
        This populates the parent_map dict and missing_keys set based on the
1142
1142
        it finds while searching for the supplied keys.
1143
1143
 
1144
1144
        It is unlikely that you want to call this directly. See
1145
 
        "CombinedGraphIndex.get_ancestry()" for a more appropriate API.
 
1145
        "CombinedGraphIndex.find_ancestry()" for a more appropriate API.
1146
1146
 
1147
1147
        :param keys: A keys whose ancestry we want to return
1148
1148
            Every key will either end up in 'parent_map' or 'missing_keys'.