Interrupting pull with ctrl-C left stale locks that cannot be removed - even with bzr break-lock

John Arbash Meinel john at arbash-meinel.com
Wed Nov 1 17:57:58 GMT 2006


Nicholas Allen wrote:
> Hi,
> 

...

> bzr info shows that the working tree, branch and repository are all
> locked. Now there is no way to use bzr with any branches in the entire
> repository as I cannot remove the locks.
> 
> Thanks,
> 
> Nick

Nick and I dug into this today, and found out that the problem is how
Windows python interacts with non-cmd.exe shells.

The problem is that terminal I/O is in a weird state on windows. If you
run a native program (python, psql, etc) in a non-cmd.exe shell (I've
run into this with rxvt, Nick was running gnome-terminal) then all of
the output to stdout is just missing.

For example, just running "python"

gives you a blank line, and seems like the program is 'hung'. It is
actually running, but it doesn't seem able to write to the screen.

I'm curious if this happens at other times, or if maybe stderr works, so
he sees progress updates, etc, but doesn't see stdout...

Anyway, in the short term, it seems like win32-native bzr won't work
with fancy shells like gnome-terminal or rxvt do to situations outside
of our control.

Nick said he would update the FAQ with an entry so that we can just
point peoeple to that.

So, unfortunately, this one just gets marked as 'Known Bug'.

Probably we should open up a bug tracker item as well, in case someone
searches for a bug like this.  Can you do that, Nick?

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061101/710c77f7/attachment.pgp 


More information about the bazaar mailing list