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

  • Committer: Andrew Bennetts
  • Date: 2007-03-28 07:38:53 UTC
  • mto: (2018.5.146 hpss)
  • mto: This revision was merged to the branch mainline in revision 2414.
  • Revision ID: andrew.bennetts@canonical.com-20070328073853-yje2ikoflt6a4jos
Some tweaks in response to review.

Show diffs side-by-side

added added

removed removed

Lines of Context:
232
232
            instance doesn't support using token locks.
233
233
        :raises MismatchedToken: if the specified token doesn't match the token
234
234
            of the existing lock.
 
235
 
 
236
        A token should be passed in if you know that you have locked the object
 
237
        some other way, and need to synchronise this object's state with that
 
238
        fact.  For instance, this could happen when accessing the same branch
 
239
        over bzr+ssh:// and then falling back to do some operations on the same
 
240
        branch via sftp://.
235
241
        """
236
242
        # mutter("lock write: %s (%s)", self, self._lock_count)
237
243
        # TODO: Upgrade locking to support using a Transport,