[PATCH v3] hg: allow usage of XDG_CONFIG_HOME and $HOME/.config/hg/hgrc
Kevin Bullock
kbullock+mercurial at ringworld.org
Fri Feb 10 15:35:41 EST 2017
> On Feb 9, 2017, at 10:22, Jun Wu <quark at fb.com> wrote:
>
> I think it's better to always include ~/.hgrc, even if $XDG_CONFIG_HOME
> exists (also check the comment below). So the text here could be:
>
> - ${XDG_CONFIG_HOME:-$HOME/.config}/hg/hgrc
> - $HOME/.hgrc
Let's not make people decipher shell substitution syntax to read our documentation though. Whatever the functionality is, let's spell it out explicitly.
pacem in terris / мир / शान्ति / سَلاَم / 平和
Kevin R. Bullock
More information about the Mercurial-devel
mailing list