This seems to be the crux of the issue:
>>> b = bzrlib.branch.Branch.open('.') >>> b.lock_read() >>> b.repository.is_locked() True >>> b = bzrlib.branch.Branch.open('bzr://localhost') >>> b.lock_read() >>> b.repository.is_locked() False
This seems to be the crux of the issue:
>>> b = bzrlib. branch. Branch. open('. ') is_locked( ) branch. Branch. open('bzr: //localhost' ) is_locked( )
>>> b.lock_read()
>>> b.repository.
True
>>> b = bzrlib.
>>> b.lock_read()
>>> b.repository.
False