~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: John Arbash Meinel
  • Date: 2008-08-18 22:34:21 UTC
  • mto: (3606.5.6 1.6)
  • mto: This revision was merged to the branch mainline in revision 3641.
  • Revision ID: john@arbash-meinel.com-20080818223421-todjny24vj4faj4t
Add tests for the fetching behavior.

The proper parameter passed is 'unordered' add an assert for it, and
fix callers that were passing 'unsorted' instead.
Add tests that we make the right get_record_stream call based
on the value of _fetch_uses_deltas.
Fix the fetch request for signatures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
691
691
        # Additional places to query for data.
692
692
        self._fallback_repositories = []
693
693
        # What order should fetch operations request streams in?
694
 
        # The default is unsorted as that is the cheapest for an origin to
 
694
        # The default is unordered as that is the cheapest for an origin to
695
695
        # provide.
696
 
        self._fetch_order = 'unsorted'
 
696
        self._fetch_order = 'unordered'
697
697
        # Does this repository use deltas that can be fetched as-deltas ?
698
698
        # (E.g. knits, where the knit deltas can be transplanted intact.
699
699
        # We default to False, which will ensure that enough data to get