~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockdir.py

  • Committer: John Arbash Meinel
  • Date: 2009-10-12 17:03:40 UTC
  • mfrom: (4679.3.94 2.1-simple-set)
  • mto: This revision was merged to the branch mainline in revision 4736.
  • Revision ID: john@arbash-meinel.com-20091012170340-o21aj90jbtswo9m4
Bring in the latest 'simple-set' code.

This is just a prep step for refining and landing the StaticTuple code.

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
    lock,
113
113
    )
114
114
import bzrlib.config
 
115
from bzrlib.decorators import only_raises
115
116
from bzrlib.errors import (
116
117
        DirectoryNotEmpty,
117
118
        FileExists,
286
287
                                            info_bytes)
287
288
        return tmpname
288
289
 
 
290
    @only_raises(LockNotHeld, LockBroken)
289
291
    def unlock(self):
290
292
        """Release a held lock
291
293
        """