/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

Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
236
236
        # for during pull operations
237
237
        inv = source.get_inventory('a')
238
238
        source.lock_write()
 
239
        self.addCleanup(source.unlock)
239
240
        source.start_write_group()
240
241
        inv['id'].revision = 'b'
241
242
        inv.revision_id = 'b'
249
250
        rev.parent_ids = ['a']
250
251
        source.add_revision('b', rev)
251
252
        source.commit_write_group()
252
 
        source.unlock()
253
253
        self.assertRaises(errors.RevisionNotPresent, target.fetch, source)
254
254
        self.assertFalse(target.has_revision('b'))
255
255