[PATCH 2 of 3] flags: allow specifying --boolean-flag=(true|false) on the command line (BC)

Augie Fackler raf at durin42.com
Mon Aug 22 14:26:06 UTC 2016


On Mon, Aug 22, 2016 at 9:41 AM, Yuya Nishihara <yuya at tcha.org> wrote:
>> +  abort: uncommitted changes
>> +  [255]
>> +  $ hg co --check=no 2
>
> Perhaps this would be parsed as --check '--check=no'.


Per an IRC conversation, I'm going to attempt to rework this to be
either --check or --no-check, which is more in line with some GNU
utilities and shouldn't require reimplementation of a big part of
getopt.



More information about the Mercurial-devel mailing list