Error during switch leaves pending merge
Bug #917575 reported by
Gerard Krol
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Expired
|
Undecided
|
Unassigned | ||
Bazaar Explorer |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
When switching to other branches we often encounter the following error:
bzr: ERROR: Could not acquire lock "C:/somedirecto
This occurs on all versions of windows and both on 32/64 bit.
Would not be a problem if we would just have to click retry but that's not possible this leaves a pending merge behind. We then have to whack bazaar with "bzr revert" "bzr update" "bzr revert" and then try to switch again.
It would be great if the lock problem could be fixed (just try again?) AT LEAST leave the tree the way it was before the switch command because everyone is getting massively confused about what is going on and if any commits are lost.
To post a comment you must log in.
Thanks for the report. It's not completely clear to me what circumstances you're hitting the locking issue, is it under bzr-explorer only of with switch from the command line as well? Do you sometimes see the problem reported as bug 901104 or only the lock error? An extract of your .bzr.log from a switch that fails would be helpful, but to make progress we really need to find out what has the dirstate file open. If you're familiar with a debugging tool or something like Process Explorer finding out which process are involved may be start.