[PATCH v3] hg: allow usage of XDG_CONFIG_HOME and $HOME/.config/hg/hgrc

David Demelier demelier.david at gmail.com
Tue Feb 14 10:17:21 EST 2017


Le 14/02/2017 à 16:07, Yuya Nishihara a écrit :
>>> -1 for compatibility with old versions. Since old hg won't read .config/hg/hgrc,
>>> creating it by default could confuse users.
>>>
>>
>> So if I understand correctly, that means:
>>
>> 1. the user installs a recent version of Mercurial
>> 2. the user init a config using hg config --edit
>> 3. the user downgrades Mercurial
>
> Yes. Alternatively,
>
>  3. the user switch to another host sharing HOME
>

I've sent a v4 that still use ~/.hgrc as default when using hg config 
--edit :-)

Regards,


More information about the Mercurial-devel mailing list