Table of Contents

Links

Bazaar home page

Notes

bzr: ERROR: Could not acquire lock "LockDir(file:///I:/Scripts/.bzr/checkout/lock)":

Ran into this on Windows while trying to add files to be versioned.

i:\Scripts>bzr add
bzr: ERROR: Could not acquire lock "LockDir(file:///I:/Scripts/.bzr/checkout/lock)":
bzr break-lock

should help, but in this case it didn't.

I:\Scripts\.bzr\checkout\lock did contain an empty directory named “held”, which I couldn't find in other directories that I had that where versioned in Bazaar, so I deleted this directory.
After I deleted this directory bzr add (and commit) worked again.