Mercurial in Windows doesn't see .hgignore - why?

Posted by AP257 on Stack Overflow See other posts from Stack Overflow or by AP257
Published on 2009-11-25T17:57:47Z Indexed on 2010/04/01 23:43 UTC
Read the original article Hit count: 346

Filed under:
|

Windows fails to pick up my .hgignore file. I'm running Mercurial from the command line, and "hg status" shows lots of files in the ignored directories.

The .hgignore file looks like this (there's no whitespace at the start of the file, or at the start of each line). I've put it in the root directory of the repository.

\.pyc$
\.pyo$
\.DS_Store
\.Python
\.installed.cfg
^bin$
^build$
^develop-eggs$
^eggs$
^include$
^lib$
^parts$
^pip-log.txt$
^web/localsettings.py$

I've tried saving the file in ANSI and UTF-8, and it doesn't seem to make a difference.

I know the file is working OK on Linux, is there anything different about the paths in Windows?

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about Windows