[MERGE] Fix BzrDir.open in non-main (and non-server-request) thread when bzrlib.smart.request's _pre_open_hook is installed.

Andrew Bennetts andrew.bennetts at canonical.com
Thu Mar 26 09:15:59 GMT 2009


This fixes the bug Vincent found in bzrlib.smart.request's _pre_open_hook.
It makes it robust even in a new thread (which therefore has a pristine
thread-local jail_info), and adds a simple test to verify that this is so.

-Andrew.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jail_info_thread_bug-4206.patch
Type: text/x-diff
Size: 4493 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090326/ad0ba00a/attachment-0001.bin 


More information about the bazaar mailing list