bzr diff/status does not work during bzr commit(!) - locking

Bug #673027 reported by Paul Sladen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

bzr diff/bzr status do not work during a bzr commit, complaining of not being able to lock:

  bzr: ERROR: Could not acquire lock ".../.bzr/checkout/dirstate": [Errno 11] Resource temporarily unavailable

My Git workflow is to do a commit and ^Z from the editor followed by "git diff" to confirm/double-check what changes and status I am writing my commit log against.

I can see no requirement or need to lock when doing read-only querying of the database. Ideally bzr should allow non-invasion commands to be run without the need to gain a lockfile.

Paul Sladen (sladen)
description: updated
Revision history for this message
Parth Malwankar (parthm) wrote :

This is a duplicate of bug #317731
I found it useful to have the alias `ci = commit --show-diff` to see the diff in my editor while typing the commit message.

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.