/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/repofmt/weaverepo.py

  • Committer: Andrew Bennetts
  • Date: 2009-08-21 00:04:55 UTC
  • mfrom: (4634 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4639.
  • Revision ID: andrew.bennetts@canonical.com-20090821000455-6oygnl6rt3291bwp
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
lazy_import(globals(), """
29
29
from bzrlib import (
30
30
    xml5,
 
31
    graph as _mod_graph,
31
32
    )
32
33
""")
33
34
from bzrlib import (
663
664
            result[key] = parents
664
665
        return result
665
666
 
 
667
    def get_known_graph_ancestry(self, keys):
 
668
        """Get a KnownGraph instance with the ancestry of keys."""
 
669
        keys = self.keys()
 
670
        parent_map = self.get_parent_map(keys)
 
671
        kg = _mod_graph.KnownGraph(parent_map)
 
672
        return kg
 
673
 
666
674
    def get_record_stream(self, keys, sort_order, include_delta_closure):
667
675
        for key in keys:
668
676
            text, parents = self._load_text_parents(key)