hard to programmatically break a lock

Bug #173941 reported by Michael Hudson-Doyle
4
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

From IRC:

<lifeless> mwhudson: if you mutex them yourself, just do:
<lifeless> if branch.get_physical_status(): branch.break_lock()
<lifeless> unconditionally.
<lifeless> you'll need to do something to handle the prompts for y/n that the ui layer will make
<lifeless> break_lock is rather ui centric
[...]
<lifeless> poolie is cleaning up that interface; please file a bug about needing a programmatic break-lock facility

Revision history for this message
John A Meinel (jameinel) wrote :

Agreed.

Changed in bzr:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Vincenzo Ciancia (vincenzo-ml) wrote :

Would it be bad to break the lock and cleanup automatically if there is no process with the lockers pid?

Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Revision history for this message
Martin Packman (gz) wrote :

With the changes from bug 220464 `force_break()` may be good enough here.

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
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.