/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/per_interbranch/test_push.py

  • Committer: Martin Pool
  • Date: 2009-08-28 04:13:16 UTC
  • mfrom: (4634.6.8 2.0)
  • mto: This revision was merged to the branch mainline in revision 4660.
  • Revision ID: mbp@sourcefrog.net-20090828041316-adcbxfnfpc4bjtpl
Merge 2.0 back to trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
        self.assertFalse(local.is_locked())
268
268
        local.push(remote)
269
269
        hpss_call_names = [item.call.method for item in self.hpss_calls]
270
 
        self.assertTrue('Repository.insert_stream' in hpss_call_names)
271
 
        insert_stream_idx = hpss_call_names.index('Repository.insert_stream')
 
270
        self.assertTrue('Repository.insert_stream_1.19' in hpss_call_names)
 
271
        insert_stream_idx = hpss_call_names.index(
 
272
            'Repository.insert_stream_1.19')
272
273
        calls_after_insert_stream = hpss_call_names[insert_stream_idx:]
273
274
        # After inserting the stream the client has no reason to query the
274
275
        # remote graph any further.
275
276
        self.assertEqual(
276
 
            ['Repository.insert_stream', 'Repository.insert_stream', 'get',
277
 
             'Branch.set_last_revision_info', 'Branch.unlock'],
 
277
            ['Repository.insert_stream_1.19', 'Repository.insert_stream_1.19',
 
278
             'get', 'Branch.set_last_revision_info', 'Branch.unlock'],
278
279
            calls_after_insert_stream)
279
280
 
280
281
    def disableOptimisticGetParentMap(self):