I have a mercurial repo with .hgignore
file. I want to remove all files from disk (hg remove
) in this repo which match pattern(s) listed in .hgignore
.
I can list all ignored files with hg status -i
but I don't know how can I delete them.
.hgignore contents:
syntax: glob
build
\.egg*
*.pyc
.DS_Store
*.sublime-*