Comment 27 for bug 456077

Revision history for this message
GuilhemBichot (guilhem-bichot) wrote :

Thanks Martin.
Note that the fetch is between a _remote_ machine and the developer's local machine, via bzr+ssh.
So I'm not sure the patch will work (changelog says 'Give a warning when fetching between local repositories").
I just tested it, and after 5 minutes, bzr on the remote host is at 100% CPU, and I don't see any warning on my machine's screen.
If you want to create a test scenario mimicking our problem, just do:
local> bzr init-repo r # make sure to use bzr 2.x
local> cd r
local> bzr branch bzr+ssh://some_remote_machine/some_branch
You should see 100% CPU on the remote machine and a very long branch time (with a MySQL branch it is not finished after a day, I am even told that the process on the local machine finally dumps core).
Also, when we kill this "bzr branch" job on the local machine (using Control-C), the "bzr" process on the remote machine keeps running, at 100% CPU, at least for 10 minutes (after which I killed it) which isn't quite good as the remote machine is a shared machine.