Comment 10 for bug 148087

Revision history for this message
John A Meinel (jameinel) wrote :

I thought the fix was to change the timeout in the server process. Which means this is actually a launchpad-bazaar bug, not a bzr client bug.

Specifically in bzr-1.1 this was introduced:
        old_lockdir_timeout = lockdir._DEFAULT_TIMEOUT_SECONDS
        try:
            ui.ui_factory = ui.SilentUIFactory()
            lockdir._DEFAULT_TIMEOUT_SECONDS = 0
            smart_server.serve()
        finally:
            ui.ui_factory = old_factory
            lockdir._DEFAULT_TIMEOUT_SECONDS = old_lockdir_timeout

Setting the timeout to 0 seconds means that the bzr service will not hang waiting for the lock, but fail immediately. (This only needs to be present on the server, not on the client).

So marking it fixed in bzr, but open in launchpad-bazaar.