problem with .bzrignore using regular expressions

Björn Brodersen bjoern.olov.brodersen at gmail.com
Tue Apr 15 17:27:05 BST 2008


Adeodato Simó wrote:
> * Björn Brodersen [Tue, 15 Apr 2008 17:54:51 +0200]:
> 
>> Maybe this output of "bzr ignored" can help:
> 
>> lib/32/not_ignored.a                               *.a
>> lib/64/not_ignored.a                               *.a
> 
> This says that there is a "*.a" ignore pattern in effect that is making
> bzr ignore those two files.
> 
> The patter is probably in your ~/.bazaar/ignore file (which bzr created
> for you). If you remove '*.a' from that file, it should work.

Thanks a lot! Removing the entry solved my problem!
> 
>> # ignore generated libraries  directly under lib
>> RE:^lib/[^32|64].*[.]a$
>           ^^^^^^^^
>           That bit may be doing what you need, but it doesn't express
>           what you want. Try:
> 
>             RE:^lib/(?!(32|64)/).*[.]a$
> 
> Cheers,
> 
Thanks a second time! This will work much better!

Greetings
Björn




More information about the bazaar mailing list