/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/interrepository_implementations/test_interrepository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-03-17 07:05:37 UTC
  • mfrom: (4152.1.2 branch.stacked.streams)
  • Revision ID: pqm@pqm.ubuntu.com-20090317070537-zaud24vjs2szna87
(robertc) Add client-side streaming from stacked branches (over
        bzr:// protocols) when the sort order is compatible with doing
        that. (Robert Collins, Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
        self.assertFalse(repo_b.has_revision('rev2'))
141
141
        result = repo_b.search_missing_revision_ids(repo_a)
142
142
        self.assertEqual(set(['rev2']), result.get_keys())
143
 
        self.assertEqual((set(['rev2']), set(['rev1']), 1), result.get_recipe())
 
143
        self.assertEqual(('search', set(['rev2']), set(['rev1']), 1),
 
144
            result.get_recipe())
144
145
 
145
146
    def test_search_missing_revision_ids_absent_requested_raises(self):
146
147
        # Asking for missing revisions with a tip that is itself absent in the
166
167
        repo_a = self.bzrdir.open_repository()
167
168
        result = repo_b.search_missing_revision_ids(repo_a, revision_id='rev1')
168
169
        self.assertEqual(set(['rev1']), result.get_keys())
169
 
        self.assertEqual((set(['rev1']), set([NULL_REVISION]), 1),
 
170
        self.assertEqual(('search', set(['rev1']), set([NULL_REVISION]), 1),
170
171
            result.get_recipe())
171
172
 
172
173
    def test_fetch_fetches_signatures_too(self):