an option to print slash instead of backslash for stat

Bela Babik teki321 at gmail.com
Tue Jun 5 07:02:49 UTC 2007


Hi,

originally I have modified the localpath() function in the util.py to
provide this functionality, but it was dirty.

I have added a " -s --slash      print slash instead of backslash in
paths" option to the stat command so I can use the output of it with
MSYS on Windows (the option displayed in the help only on the 'nt'
platform).

I can post a patch if this helps anyone else too.

-- 
teki
eng: http://tekidev.blogspot.com/
hun: http://repcsi.hu/ | http://repcsi.hu/teki/



More information about the Mercurial mailing list