[PATCH RFC-V2] commands: add 'setup' command to allow automatic hgrc configuration

Mathias De Maré mathias.demare at gmail.com
Fri Mar 13 00:35:15 CDT 2015


On Thu, Mar 12, 2015 at 10:30 PM, Pierre-Yves David <
pierre-yves.david at ens-lyon.org> wrote:

>
>
> On 03/12/2015 11:02 AM, mathias.demare at gmail.com wrote:
>
>> # HG changeset patch
>> # User Mathias De Maré <mathias.demare at gmail.com>
>> # Date 1426162870 -3600
>> #      Thu Mar 12 13:21:10 2015 +0100
>> # Node ID 62ced0ed5466bff586585c6ba0bd35f7e4948466
>> # Parent  7cf9a9e0cf893e7ae82dc576a03c843fd6640438
>> 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'.

Greetings,
Mathias

>
>
> --
> Pierre-Yves David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20150313/d1c20289/attachment.html>


More information about the Mercurial-devel mailing list