an option to print slash instead of backslash for stat
Andrei Vermel
avermel at mail.ru
Tue Jun 5 16:57:09 UTC 2007
> - what's the problem with using backslashes on windows?
>
> - would every windows user want to use slashes?
>
> - many other commands (add, remove, commit, ...) may also print paths
> with backslashes. Is status special, or is it just the most common
> one?
>
> - do you (almost) always want slashes, or are there still many cases
> where you want backslashes? I.e. do you always specify --slash
> (either on the command line or in the [defaults] section of hgrc)?
>
> I'm not completely opposed to this (running tests with pysh would
> probably benefit A LOT from something like this), but I think a "slash"
> option in the [ui] section would be better - maybe always using slashes
> would be even better, but I don't think all users would be happy if we
> do that...
I personally do not know any windows program I care about that
can't deal with slashes. My local hack makes 'stat' always output
slashes and I am completely happy with it.
Slash option in the [ui] sounds like a proper solution though.
Yes, for me 'stat' is the only command where this really matters, but
I do not script too much.
Andrei
More information about the Mercurial
mailing list