"bzr info" does not report OS file locks

Bug #514504 reported by Eli Zaretskii
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

This is related to 174055, but with a slightly different aspect.

The documentation of "bzr break-lock" says that "bzr info" can be used to report open locks.

However, the locks reported by "bzr info" do not include OS file locks such as the one used for dirstate. Thus, dirstate locks are not reported by "bzr info".

This feature is needed in Emacs, where visiting a file in a versioned directory automatically runs "bzr status" on that file. But if another bzr command is running, "bzr status" fails due to disrtate being locked. If "bzr info" could report such locks, Emacs could invoke it and take a proper action if the failure is due to another command running.

Please add a feature to "bzr info" to report OS file locks as well.

Eli Zaretskii (eliz)
tags: added: dirstate locking
Martin Pool (mbp)
Changed in bzr:
status: New → Confirmed
importance: Undecided → Low
importance: Low → Medium
tags: added: affects-emacs
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.