~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lockdir.py

  • Committer: Andrew Bennetts
  • Date: 2007-04-13 00:56:08 UTC
  • mto: (2018.18.11 hpss-faster-copy)
  • mto: This revision was merged to the branch mainline in revision 2435.
  • Revision ID: andrew.bennetts@canonical.com-20070413005608-jkzcnpbnftissj97
Add a brief explanation of what tokens are used for to lock_write docstrings.

Show diffs side-by-side

added added

removed removed

Lines of Context:
436
436
            instance doesn't support using token locks.
437
437
        :raises MismatchedToken: if the specified token doesn't match the token
438
438
            of the existing lock.
 
439
 
 
440
        A token should be passed in if you know that you have locked the object
 
441
        some other way, and need to synchronise this object's state with that
 
442
        fact.
439
443
         
440
444
        XXX: docstring duplicated from LockableFiles.lock_write.
441
445
        """