win32 path patch

Simon Ekstrand bazaar-ng at mlists.sii.se
Fri Apr 15 10:04:01 BST 2005


Martin Pool <mbp at sourcefrog.net> writes:

> On Fri, 2005-04-08 at 18:49 +1000, QuantumG wrote:
>> Well I fixed the relpath stuff for diff.. but in doing so I noticed that 
>> support for win32 paths was very broken.  I've made a patch which 
>> replaces '/' with os.sep where necessary.
>
> 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.

> If someone could also run 'bzr check' on windows and let me know if the
> progress indicator looks reasonable that'd be good to.

It does.

-- 
Simon





More information about the bazaar mailing list