~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-19 18:04:49 UTC
  • mfrom: (4593.5.43 1.19-known-graph-sorted)
  • Revision ID: pqm@pqm.ubuntu.com-20090819180449-p5dibldf9pcp24n4
(jam) Add VersionedFiles.get_known_graph_ancestry and
        KnownGraph.merge_sort()

Show diffs side-by-side

added added

removed removed

Lines of Context:
4351
4351
        phase = 'file'
4352
4352
        revs = search.get_keys()
4353
4353
        graph = self.from_repository.get_graph()
4354
 
        revs = list(graph.iter_topo_order(revs))
 
4354
        revs = tsort.topo_sort(graph.get_parent_map(revs))
4355
4355
        data_to_fetch = self.from_repository.item_keys_introduced_by(revs)
4356
4356
        text_keys = []
4357
4357
        for knit_kind, file_id, revisions in data_to_fetch: