.hgignore regexp oddity
Hans Meine
meine at informatik.uni-hamburg.de
Mon Feb 1 15:48:33 UTC 2010
On Thursday 28 January 2010 21:15:37 John W wrote:
> I've been banging my head trying to get syntax:regexp working in .hgignore.
It's not a regexp problem..
> #
> # I'm trying to do "any path without a dot in it"
> #
> $ cat .hgignore_try
> ^[^.]*$
[...]
> # For some reason, aaa/bbb/ccc/foo.txt is ignored, even though it
> should not match that regexp (AFAIK)
AFAICS, the directory aaa will already match, so all files below that are
ignored, too. :-)
HTH,
Hans
More information about the Mercurial
mailing list