It is sometimes useful to see which files are being ignored in a Mercurial repository. For example, there might be some
.hgignore rules that might be getting applied without your full knowledge. Such files will not be tracked or committed.
Seeing the list of ignored files in a local repository is easy:
$ hg status --ignored
Or if you prefer the short version:
$ hg st -i
Tried with: Mercurial 2.0.2 and Ubuntu 12.04 LTS