how to ignore subdirectory

Christian Ebert blacktrash at gmx.net
Thu Jul 19 03:16:06 CDT 2007


* Hiroshi SAKURAI on Thursday, July 19, 2007 at 14:55:25 +0900
> On 7/19/07, Bela Babik <teki321 at gmail.com> wrote:
>> ^pkgsrc/.*
> 
> thanks for your reply.
> 
> ^pkgsrc/.* works, but I cannot read that
> ^pkgsrc/ does not work from reading hgignore(5).
> 
> I think it would be better hg accept ^pkgsrc/.

syntax: glob
pkgsrc/

works here.

But now I am confused, because

syntax: glob
^pkgsrc/

does not. hgignore(5) says:

|Neither glob nor regexp patterns are rooted. [...] To root a
|regexp pattern, start it with "^".

?

c
-- 
keyword extension for Mercurial (http://selenic.com/mercurial):
<http://www.blacktrash.org/hg/hgkeyword/>
Mercurial crew development repository + keyword extension:
<http://www.blacktrash.org/hg/hg-crew-keyword/>


More information about the Mercurial mailing list