I have the following .hgignore:
\.pyc$
yet in my hg st .pyc files still appear as modified and get committed with hg ci.
I've also tried this .hgignore:
syntax: glob
*.pyc
But with the same results..
Any idea what could be wrong?
I have the following .hgignore:
\.pyc$
yet in my hg st .pyc files still appear as modified and get committed with hg ci.
I've also tried this .hgignore:
syntax: glob
*.pyc
But with the same results..
Any idea what could be wrong?
Did you try:
syntax: re
^.*\.pyc$
(In order to ignore any path followed by any filename ended with the extension '.pyc').
Of course, your files with '.pyc' shouldn't be already tracked.
... which turns out to be the actual problem, from the OP's comment:
these
.pycfiles were indeed accidentally added before, and by "hg rem"-ing them the problem is now solved.