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

  • Committer: Aaron Bentley
  • Date: 2009-08-18 12:49:22 UTC
  • mfrom: (4624 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4630.
  • Revision ID: aaron@aaronbentley.com-20090818124922-amjt054mh5wm0s30
Merge bzr.dev into shelve-lines.

Show diffs side-by-side

added added

removed removed

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