b.l._RelockDebugMixin(object) : class documentation

Part of bzrlib.lock View In Hierarchy

Known subclasses: bzrlib.branch.BzrBranch, bzrlib.remote.RemoteBranch, bzrlib.remote.RemoteRepository, bzrlib.repository.Repository

Mixin support for -Drelock flag.

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
def _note_lock(self, lock_type):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.