/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 tests/test_repository.py

Add BzrGitCache object.

Show diffs side-by-side

added added

removed removed

Lines of Context:
218
218
 
219
219
    def import_rev(self, revid, parent_lookup=None):
220
220
        store, store_iter = self.object_iter()
221
 
        store._idmap.start_write_group()
 
221
        store._cache.idmap.start_write_group()
222
222
        try:
223
223
            return store_iter.import_revision(revid)
224
224
        except:
225
 
            store._idmap.abort_write_group()
 
225
            store._cache.idmap.abort_write_group()
226
226
            raise
227
227
        else:
228
 
            store._idmap.commit_write_group()
 
228
            store._cache.idmap.commit_write_group()
229
229
 
230
230
    def test_pointless(self):
231
231
        revid = self.bzr_tree.commit("pointless", timestamp=1205433193,