/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/lockdir.py

  • Committer: John Arbash Meinel
  • Date: 2009-08-04 14:10:09 UTC
  • mfrom: (4585 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4588.
  • Revision ID: john@arbash-meinel.com-20090804141009-uety2n17v1atk5ok
Merge bzr.dev 4585, resolve NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
293
293
            self._fake_read_lock = False
294
294
            return
295
295
        if not self._lock_held:
296
 
            raise LockNotHeld(self)
 
296
            return lock.cant_unlock_not_held(self)
297
297
        if self._locked_via_token:
298
298
            self._locked_via_token = False
299
299
            self._lock_held = False