1831
1833
# two yes's : branch and repository. If the repo in this
1832
1834
# dir is inappropriately accessed, 3 will be needed, and
1833
1835
# we'll see that because the stream will be fully consumed
1835
1837
# determine if the repository will have been locked;
1837
1839
thisdir.open_repository().get_physical_lock_status()
1838
1840
master.bzrdir.break_lock()
1840
1842
# only two ys should have been read
1843
1846
# only one y should have been read
1845
1849
# we should be able to lock a newly opened branch now
1846
1850
branch = master.bzrdir.open_branch()