[PATCH RFC] forest extension

Robin Farine robin.farine at terminus.org
Sun Dec 10 08:02:09 CST 2006


On Sunday December 10 2006 12:37, Rafael Villar Burke wrote:
> Robin Farine escribió:

> >
> > walkhg = (0|1)
> >
> >   Whether repositories under a .hg directory should be skipped
> > (0) or not (1). The default value is 0. Some commands accept
> > the --walkhg command-line option to override the behavior
> > selected by this item.
>
> I'm being a bit picky here, but wouldn't be using False|True
> instead of 0|1 more user friendly?. It's more readable by humans
> than the C convention.

Yes, I agree that it would be more user friendly. I chose (0|1) 
rather than (False|True) for the configuration item to be 
consistent with the associated command-line option. Perhaps using a 
string option instead so that one writes --walkhg=False rather 
than --walkhg=0 on the command-line is preferable...

Regards,

Robin



More information about the Mercurial-devel mailing list