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

Raffaele Salmaso raffaele at salmaso.org
Wed Feb 8 12:13:28 EST 2017


On Wed, Feb 8, 2017 at 5:01 PM, Augie Fackler <raf at durin42.com> wrote:

> > hg: allow usage of XDG_CONFIG_HOME and $HOME/.config/hgrcThat said, pip
> looks at $XDG_CONFIG_HOME/pip, so I suspect (the spec is unclear) that we
> should be storing things in $XDG_CONFIG_HOME/hg - that's also consistent
> with what git does (search for XDG_CONFIG on https://git-scm.com/docs/git-
> config)
>
Yes, I use this configuration (export
HGRCPATH=$HOME/.local/mercurial/hgrc), and put in $HOME/.local/mercurial my
personal style and some custom extensions (evolve...).


-- 
| Raffaele Salmaso
| https://salmaso.org
| https://bitbucket.org/rsalmaso
| https://github.com/rsalmaso
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170208/ed1d0eee/attachment.html>


More information about the Mercurial-devel mailing list