Randy Ridenour

Mercurial HGIgnore File

Aug 11, 2015

I could not figure out why Mercurial was not using my hgignore file. I didn’t realize that it needed to be declared in the .hgrc file. Adding

ignore = ~/.hgignore_global

to the [ui] section fixed it.

Thanks goes to we are all robots .

Tagged: mercurial