[PATCH RFC-V2] commands: add 'setup' command to allow automatic hgrc configuration
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Sat Mar 21 20:19:23 CDT 2015
On 03/12/2015 10:35 PM, Mathias De Maré wrote:
>
>
> On Thu, Mar 12, 2015 at 10:30 PM, Pierre-Yves David
> <pierre-yves.david at ens-lyon.org <mailto:pierre-yves.david at ens-lyon.org>>
> wrote:
>
>
>
> On 03/12/2015 11:02 AM, mathias.demare at gmail.com
> <mailto:mathias.demare at gmail.com> wrote:
>
> # HG changeset patch
> # User Mathias De Maré <mathias.demare at gmail.com
> <mailto:mathias.demare at gmail.com>>
> # Date 1426162870 -3600
> # Thu Mar 12 13:21:10 2015 +0100
> # Node ID 62ced0ed5466bff586585c6ba0bd35__f7e4948466
> # Parent 7cf9a9e0cf893e7ae82dc576a03c84__3fd6640438
> commands: add 'setup' command to allow automatic hgrc configuration
>
>
> I've read nothing of the patch yet and I've no opinion on the
> feature yet, but wouldn't that make more sense as `hg config
> --setup` to go alongside with `hg config --edit` ?
>
> I originally thought about 'hg config --interactive', but thought I'd go
> with a top-level command, since configuration is important. I quite like
> Matts idea to use 'hg setup' as alias to 'hg config --edit'.
Configuration is important, that is why we have a single entry point for
user to deal with it ;-)
--
Pierre-Yves David
More information about the Mercurial-devel
mailing list