I have this ignore file:
syntax: glob
*.pyc
*.db
mysite/app/migrations/**
it is ignoring all migration files but not pyc and db files. why is this?
The usual answer is that you have already run hg add
on the .pyc
and .db
files. Try running
$ hg locate "set:hgignore() and not ignored()"
to see tracked files which match your .hgignore
patterns. Use
$ hg forget "set:hgignore() and not ignored()"
to make Mercurial forget them.