I've tried multiple ways to block a folder of logs from Mercurial but it continues to be seen by hg status
. I have other ignore commands that are being obeyed, but this folder for some reason won't be ignored. I've tried...
syntax: glob
sitename/system/logs
regexp:^sitename/system/logs$
glob:sitename/system/logs
Despite all of these methods in place I continue to see the following in hg status
M sitename/system/logs/log-2010-11-03.php
M sitename/system/logs/log-2010-11-04.php
Any ideas on what I'm doing wrong?
Yes. The problem is you added the file. That's why you see an M
. Stop tracking the file, and then your ignore will work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With