~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-17 00:32:27 UTC
  • mfrom: (4606.2.1 test-foreign)
  • Revision ID: pqm@pqm.ubuntu.com-20090817003227-g813yyjlq47j9qyb
(robertc) Prepare test_foreign for rich roots as the default format.
        (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3057
3057
    # help), and for fetching when data won't have come from the same
3058
3058
    # compressor.
3059
3059
    pack_compresses = False
3060
 
    # Does the repository inventory storage understand references to trees?
3061
 
    supports_tree_reference = None
3062
3060
 
3063
3061
    def __str__(self):
3064
3062
        return "<%s>" % self.__class__.__name__
4351
4349
        phase = 'file'
4352
4350
        revs = search.get_keys()
4353
4351
        graph = self.from_repository.get_graph()
4354
 
        revs = tsort.topo_sort(graph.get_parent_map(revs))
 
4352
        revs = list(graph.iter_topo_order(revs))
4355
4353
        data_to_fetch = self.from_repository.item_keys_introduced_by(revs)
4356
4354
        text_keys = []
4357
4355
        for knit_kind, file_id, revisions in data_to_fetch: