Per branch ignore exclusions

John Arbash Meinel john at arbash-meinel.com
Thu Sep 10 14:43:28 BST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Krzysztof Nowicki wrote:
> Hi,
> 
> Currently bazaar has 2 lists of ignored files: global (in user home directory)
> and per branch (in .bzrignore file). It's easy to add more ignore patterns to
> either of them. But what if I'd like to *exclude* some of the ignore patterns
> from the global list?
> 
> I have a repository which contains a lot of binary libraries and object files,
> which are deliveries from 3rd parties. By default they all get ignored, because
> of .a or .o extensions. Unfortunately there are hundreds of such files and
> adding them one-by-one is not an option.
> 
> While I understand that ignoring such files by default is a good idea, there are
> specific cases where it would be a nice idea to allow exclusions from the global
> ignore list in the local .bzrignore file (or maybe a .bzrunignore file).
> 
> K.
> 

Is there difficulty doing:

bzr add *.a *.o

You don't have to add them one-by-one you just have to explicitly name
all of them.

That said, I think I agree with you, I'm not really sure how to
implement it, without a fairly large overhaul of the ignore system.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkqpAoAACgkQJdeBCYSNAAPP2gCgpDCtZFviCsvXCHf8Yu9Vy26V
DU8AoIe6s7gY7LOB3Ft8ISG3LhJEO34P
=o+r1
-----END PGP SIGNATURE-----



More information about the bazaar mailing list