~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitrepo.py

  • Committer: Robert Collins
  • Date: 2009-02-27 01:02:40 UTC
  • mto: This revision was merged to the branch mainline in revision 4060.
  • Revision ID: robertc@robertcollins.net-20090227010240-35dzaxn8bah0razi
Move the fetch control attributes from Repository to RepositoryFormat.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
        self._commit_builder_class = _commit_builder_class
125
125
        self._serializer = _serializer
126
126
        self._reconcile_fixes_text_parents = True
127
 
        self._fetch_uses_deltas = True
128
 
        self._fetch_order = 'topological'
129
127
 
130
128
    @needs_read_lock
131
129
    def _all_revision_ids(self):
288
286
    supports_ghosts = True
289
287
    # External lookups are not supported in this format.
290
288
    supports_external_lookups = False
 
289
    _fetch_order = 'topological'
 
290
    _fetch_uses_deltas = True
291
291
 
292
292
    def _get_inventories(self, repo_transport, repo, name='inventory'):
293
293
        mapper = versionedfile.ConstantMapper(name)