bzr break-lock does not hint who is holding the lock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
It looks like in some cases, bzr break-lock does not provide hints about how a lock can be removed.
This is the output of my commands:
$ bzr ci -m"something"
bzr: ERROR: Could not acquire lock "/home/
$ bzr break-lock
bzr: ERROR: The lock for '/home/
$ bzr -Derror break-lock
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
control.
File "/usr/lib/
thing_
File "/usr/lib/
raise errors.
LockActive: The lock for '/home/
$ lsof | grep bug-509252-take-2
gedit 7562 adi 52rR REG 8,5 2118222 2689075 /home/adi/
The problem here is with the OS lock on the working directory. launchpad. net/~mbp/>
Unfortunately we can't break them and there is no portable way to find
out who's holding it, so this is basically another consequence of bug
98836.
--
Martin <http://