Per branch ignore exclusions
Krzysztof Nowicki
krissn at op.pl
Thu Sep 10 15:03:38 BST 2009
John Arbash Meinel wrote:
> 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
> =:->
>
There is some difficulty if those files are scattered all over the tree in
various subdirectories ;)
For the time being temporary removing those patterns from the global ignore file
does help.
K.
More information about the bazaar
mailing list