set_stacked_on_location leaves a locked repossitory with an unlocked fallback repository
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This may be related to 283457, or at least easiest to fix at the same time:
mwh@grond:repro$ bzr init --1.6 a
Standalone tree (format: 1.6)
Location:
branch root: a
mwh@grond:repro$ bzr init --1.6 b
Standalone tree (format: 1.6)
Location:
branch root: b
mwh@grond:repro$ cd a
mwh@grond:a$ python2.5
Python 2.5.2 (r252:60911, Jul 31 2008, 17:31:22)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from bzrlib import branch
>>> b = branch.
>>> b.lock_write()
'982x9skvm333rk
>>> b.set_stacked_
>>> b.unlock()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
self.
File "/usr/lib/
repo.unlock()
File "/usr/lib/
self.
File "/usr/lib/
raise errors.
bzrlib.
>>>
r4292 of bzr.dev fixes this.