an option to print slash instead of backslash for stat

Andrei Vermel avermel at mail.ru
Tue Jun 5 07:47:37 UTC 2007


+1
I use the same tweak done for the same purpose.

Andrei


----- Original Message ----- 
From: "Bela Babik" <teki321 at gmail.com>
To: <mercurial at selenic.com>
Sent: Tuesday, June 05, 2007 11:02 AM
Subject: an option to print slash instead of backslash for stat


> 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/
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>



More information about the Mercurial mailing list