views:

33

answers:

1

I would like to ignore all files that start with:

._

How would I write this in the .hgignore file?

+2  A: 
$ cat .hgignore
syntax: glob
._*

Which I have tested thusly (with some "noise" like .. removed for clarity):

$ ls -aRF
.:
a  ._a   .hgignore  sub/

./sub:
a  ._a
$ hg stat
? .hgignore
? a
? sub/a
msw