~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockable_files.py

  • Committer: Martin Pool
  • Date: 2006-03-09 07:14:10 UTC
  • mfrom: (1600 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1602.
  • Revision ID: mbp@sourcefrog.net-20060309071410-4ab7d54905541c75
[merge] from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
            self._lock.lock_write()
204
204
            self._lock_mode = 'w'
205
205
            self._lock_count = 1
206
 
            self._set_transaction(transactions.PassThroughTransaction())
 
206
            self._set_transaction(transactions.WriteTransaction())
207
207
 
208
208
    def lock_read(self):
209
209
        # mutter("lock read: %s (%s)", self, self._lock_count)