win32 path patch
Fredrik Lundh
fredrik at pythonware.com
Fri Apr 15 11:18:01 BST 2005
Simon Ekstrand wrote:
>> OK, I've put in a modified version of this. Please test it and let me
>> know.
>
> bzr selftest still fails in windows due to separator issues, things
> like:
>
> Expected:
> 'src/wibble/wibble.c'
> Got:
> 'src\\wibble\\wibble.c'
>
> I'm unsure how it could be fixed considering how the tests are implemented
> though.
another approach would be to do things the other way: translate from os.sep to "/" on
the "way in", use "/" on the inside, and map back to os.sep only when needed (which
is never, on contemporary platforms).
</F>
More information about the bazaar
mailing list