Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 203
Webnet Avatar asked Jan 20 '23 08:01

Webnet


1 Answers

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.

like image 191
Senthess Avatar answered Feb 24 '23 17:02

Senthess