Comment 0 for bug 673027

Revision history for this message
Paul Sladen (sladen) wrote :

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 flowed 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.