[PATCH clowncopter] commit: adjust the quoting in the examples to be Windows friendly
Matt Harbison
mharbison72 at gmail.com
Sat Dec 5 22:54:00 CST 2015
On Sat, 05 Dec 2015 23:47:30 -0500, Pierre-Yves David
<pierre-yves.david at ens-lyon.org> wrote:
>
>
> On 12/05/2015 08:23 PM, Matt Harbison wrote:
>> # HG changeset patch
>> # User Matt Harbison <matt_harbison at yahoo.com>
>> # Date 1449371988 18000
>> # Sat Dec 05 22:19:48 2015 -0500
>> # Node ID 8f7a64c53d0ebb9717c8e011f753c182e29b2320
>> # Parent 4af56d6452d5127db44bf946b5053582e16e49ba
>> commit: adjust the quoting in the examples to be Windows friendly
>>
>> We should probably avoid strong quotes around command line args in the
>> examples,
>> since cmd.exe doesn't recognize them, and it will surprise a user who
>> cargo
>> cults them. I don't see a way to make a rule for this, since strong
>> quoting is
>> OK inside command line args, like within revsets.
>
> woops, pushed to the clowncopter.
Is there a reasonable way to put in a rule for this? I only noticed this
because there's a test-gendoc failure associated with this new block of
help (specifically the 'set:**.py' line). I didn't exhaustively review
everything else. There seems to be a recent push to add examples to help,
so it could be useful.
More information about the Mercurial-devel
mailing list