Tree Transform passing all tests, plus abuse

Alexander Belchenko bialix at ukr.net
Sat Feb 11 19:51:35 GMT 2006


Aaron Bentley пишет:
> John A Meinel wrote:
> | Internally you use "os.path.join" rather than "osutils.pathjoin". Which
> | means we would end up with '\' separated paths.
> 
> Is that a problem?  This is all local fs stuff.

Yes, I think it could create a problem. Bzr nick command also use local 
fs stuff but without proper path names manipulation it does not work 
properly on win32.

So for consistency reason please use only safe methods for files 
operations and paths manipulations. All potentialy unsafe methods from 
cross-platform compatibility point of view have safe implementation in 
osutils.

--
Alexander





More information about the bazaar mailing list