~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-01-29 19:50:34 UTC
  • mfrom: (4988.2.2 513432-fetch)
  • Revision ID: pqm@pqm.ubuntu.com-20100129195034-tkymzp1houhuhq6f
(mbp) fix variable name in fetch

Show diffs side-by-side

added added

removed removed

Lines of Context:
254
254
        root_id_order.sort(key=operator.itemgetter(0))
255
255
        # Create a record stream containing the roots to create.
256
256
        if len(revs) > 100:
257
 
            graph = _get_rich_root_heads_graph(self.source_repo, revs)
 
257
            # XXX: not covered by tests, should have a flag to always run
 
258
            # this. -- mbp 20100129
 
259
            graph = _get_rich_root_heads_graph(self.source, revs)
258
260
        new_roots_stream = _new_root_data_stream(
259
261
            root_id_order, rev_id_to_root_id, parent_map, self.source, graph)
260
262
        return [('texts', new_roots_stream)]