~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.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:
255
255
        to_sf.insert_record_stream(filter_absent(from_sf.get_record_stream(
256
256
            [(rev_id,) for rev_id in revs],
257
257
            self.to_repository._fetch_order,
258
 
            self.to_repository._fetch_uses_deltas)))
 
258
            not self.to_repository._fetch_uses_deltas)))
259
259
        self._fetch_just_revision_texts(revs)
260
260
 
261
261
    def _fetch_just_revision_texts(self, version_ids):