.hgignore file is not ignoring the maven target/site directory
问题 I've created a basic maven/mercurial setup. I've created a .hgignore in the working directory. I have added the following to the .hgignore file (as per the instructions in https://www.mercurial-scm.org/wiki/.hgignore /target$ /.DS_Store$ .DS_Store$ I had run hg status and everything was ignored (as expected) I ran mvn site . Now, when I run the hg status command, everything but the site folder is being ignored in the target folder... e.g. ~/dev/blah >hg st ? target/site/css/maven-base.css ?