I am trying to get mercurial to ignore hidden files for a specific user. I used the following directions here:
How to make mercurial ignore all hidden files?
and made him ignore files in a specific repo. I want to extend this behavior to all hg repositories for a specific user.
The hgrc man page says that you can link a specific user ignore file (e.g. ~ / .hgignore) by including something like this in your ~ / .hgrc:
[ui] username = Some User < user@email.com > ignore = ~/.hgignore
but this does not seem to work.
I also tried
ignore = /home/someuser/.hgignore ignore = $HOME/.hgignore ignore = ~/.hgignore2
But that doesn't work either. Am I missing something? I cannot find anything on the Mercurial site or anywhere else. Please help, thanks.
** EDIT - I am on Linux. hg showconfig indicates that hg correctly reads my .hgrc file, the ignore behavior described in it does not work.
** EDIT2 - I also tried restarting my machine to see if it would change anything. This is not true.
source share