I installed mercurial on my Mabook-Air (M1) using:
brew install mercurial
Mercurial (6.1.2) is working fine, but the configurations files that I copied over from my Linux setup (everything under ~/.config/hg/ including hgrc and a global hgignore) cannot be found.
man hgrc indicates that ${XDG_CONFIG_HOME:-$HOME/.config}/hg/hgrc is consulted under Unix. Is macOS not considered Unix?