Need method to detect and break bzr locks

Bug #519627 reported by Nathan Handler
6
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

Martin Owens (doctormo)
Changed in groundcontrol:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Martin Pool (mbp) wrote :

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.

Martin Owens (doctormo)
Changed in groundcontrol:
status: Confirmed → Fix Committed
assignee: nobody → Martin Owens (doctormo)
milestone: none → 1.5
Martin Owens (doctormo)
Changed in groundcontrol:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.