Need method to detect and break bzr locks
Bug #519627 reported by
Nathan Handler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ground Control |
Fix Released
|
Medium
|
Martin Owens |
Bug Description
I recently attempted to use the 'Update' button to update a branch previously created with groundcontrol. After waiting a long time for it to synchronise, I received a "Could not acquire lock" bazaar error message. I ran 'bzr break-lock' in a terminal to break the lock. I was then able to run the 'Update'. Groundcontrol should have a method of detecting these locks and providing the user with the ability to break the lock.
Related branches
Changed in groundcontrol: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in groundcontrol: | |
status: | Confirmed → Fix Committed |
assignee: | nobody → Martin Owens (doctormo) |
milestone: | none → 1.5 |
Changed in groundcontrol: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
You can use lockdir.peek() to see if it's already held and to get some information.
Really the locking stuff should be lifted to the uifactory, then you can do this in a more structured way.