an option to print slash instead of backslash for stat

Rafael Villar Burke pachi at rvburke.com
Tue Jun 5 22:44:00 UTC 2007


Bela Babik wrote:
> I prefer slashes when I am using MSYS but backslashes when I am using 
> cmd.exe.
Yep, that's my case too, as using slashes prevents command completion on 
CMD.

Maybe a new ui option can be used. Also, maybe it could work testing for 
a SHELL env var if os.platform==win32 That way we can detect a non CMD 
shell, like in a normal MSYS environment (as it's really using the msys 
bash+terminal emulator what does the slash trick there. Msys tools are 
just native win32 apps, and has not an emulation layer like cygwin).

Regards,

Rafael Villar Burke




More information about the Mercurial mailing list