~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

Add finished() notifications to transactions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1258
1258
        repo_transport = a_bzrdir.get_repository_transport(None)
1259
1259
        control_files = LockableFiles(repo_transport, 'lock', LockDir)
1260
1260
        control_store = self._get_control_store(repo_transport, control_files)
1261
 
        transaction = bzrlib.transactions.PassThroughTransaction()
 
1261
        transaction = bzrlib.transactions.WriteTransaction()
1262
1262
        # trigger a write of the inventory store.
1263
1263
        control_store.get_weave_or_empty('inventory', transaction)
1264
1264
        _revision_store = self._get_revision_store(repo_transport, control_files)