Mercurial not ignoring files
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.
加载中,请稍侯......
精彩评论