Need method to detect and break bzr locks

Bug #519627 reported by Nathan Handler on 2010-02-10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ground Control
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) on 2010-02-10
Changed in groundcontrol:
status: New → Confirmed
importance: Undecided → Medium
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) on 2010-02-16
Changed in groundcontrol:
status: Confirmed → Fix Committed
assignee: nobody → Martin Owens (doctormo)
milestone: none → 1.5
Martin Owens (doctormo) on 2010-02-16
Changed in groundcontrol:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers