Quoting fix for LocalTransport.list_dir

David Allouche david at allouche.net
Wed Mar 8 15:44:11 GMT 2006


When trying to convert a Launchpad branch into metadir format, I hit a
bug caused by incorrect url quoting in LocalTransport (one of weaves has
a '/' in its id).

The attached patch fix LocalTransport.list_dir to allow converting
Launchpad to metadir. It should probably be augmented by a number of
test cases, and probably overlaps wildly with John's local transport
quoting branch. But I'm posting it here for the record.

Test suite passes.
-- 
                                                            -- ddaa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: local-listdir.patch
Type: text/x-patch
Size: 2875 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060308/7afe2a27/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060308/7afe2a27/attachment.pgp 


More information about the bazaar mailing list