Part of bzrlib.lock View In Hierarchy
Known subclasses: bzrlib.branch.BzrBranch, bzrlib.remote.RemoteBranch, bzrlib.remote.RemoteRepository, bzrlib.repository.Repository
Add this as a base class then call self._note_lock with 'r' or 'w' when acquiring a read- or write-lock. If this object was previously locked (and locked the same way), and -Drelock is set, then this will trace.note a message about it.
Method | _note_lock | Undocumented |