hg add -X not working

Posted by Lo'oris on Super User See other posts from Super User or by Lo'oris
Published on 2010-05-25T13:30:03Z Indexed on 2010/05/25 13:33 UTC
Read the original article Hit count: 269

Filed under:
|

I'd like to hg add excluding files that begin with ._, or even better exclude all hidden files.

It's not working, it's just completely ignoring my -X option.

I tried the following:

hg add -n -X '._*'
hg add -n -X '*._*'

and just to be sure also:

hg add -n -X '*.*'

nothing. It's just as if I didn't -X at all.

I've tried both with hg 1.4.3 and hg 1.0.1

© Super User or respective owner

Related posts about mercurial

Related posts about hg