how to ignore subdirectory

Christian Ebert blacktrash at gmx.net
Thu Jul 19 06:24:43 CDT 2007


* Masklinn on Thursday, July 19, 2007 at 12:37:31 +0200
> On 19 Jul 2007, at 10:16 , Christian Ebert wrote:
>> 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 "^".
>> 
>> ?
> 
> last time I checked, there was no "^" metacharacter in glob syntax.  
> Thus, you can't root glob pattern, only regexp patterns (which is  
> what hgignore says))

You're right, of course. Have to read TFM aloud to myself!

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