Path fun on Windows

Mads Kiilerich mads at kiilerich.com
Wed Jun 6 07:39:31 CDT 2012


On 06/06/12 14:26, Adrian Buehlmann wrote:
> Also, I think we do want to be exposed to real Windows paths when
> testing on Windows - depending on the virtual, made-up unix-path crotch
> provided by MSYS won't help us much. Other than making us dependent on
> that crotch.
>
> Also, I fear we would then be exposed to the totally artificial MSYS
> paths like
>
>    /c/Users/adi
>
> etc., which might confuse mercurial a whole lot, as such paths are
> clearly not expected on a system where os.name == 'nt'.

But ... msys bash will always convert such paths to real windows paths 
when invoking external programs, using the rules on the page you found - 
http://www.mingw.org/wiki/Posix_path_conversion . Or ???

/Mads



More information about the Mercurial-devel mailing list