31 Jul
2010
31 Jul
'10
12:11 a.m.
Jeremy wrote:
I was freaking out a bit for a while there because I had created some files with names like dillo_hg_* and "hg status" was not reporting them as untracked, even though I had not "hg add"-ed them.
The problem was that .hgignore contains a line "dillo", which ignores every file with the string "dillo" anywhere in its path. Many other lines in .hgignore are similarly inappropriate. It looks as though these lines were written to be interpreted as glob-style patterns, but in fact mercurial interprets every line as a regexp.
Looking in http://www.selenic.com/mercurial/hgignore.5.html it seems that specifying "syntax: glob" is also a possibility.