[merge] fix handling of .. in paths in MemoryTransport

Martin Pool mbp at canonical.com
Fri Oct 26 13:08:33 BST 2007


MemoryTransport has a somewhat dodgy _abspath method, which aside from
anything else means that pack repositories don't seem to work well on
it.  (The rename from the upload directory fails.)  This also adds a
test for that type of rename.

This code could maybe be somewhere more general, as a kind of permissive
pathjoin...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20061026-memorytransport-rename.diff
Type: text/x-diff
Size: 2263 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20071026/7a39a6fa/attachment.bin 


More information about the bazaar mailing list