Per branch ignore exclusions

Maritza Mendez martitzam at gmail.com
Thu Sep 10 17:38:58 BST 2009


On Thu, Sep 10, 2009 at 8:45 AM, Philippe Lhoste <PhiLho at gmx.net> wrote:

> On 10/09/2009 15:43, John Arbash Meinel wrote:
>
>> bzr add *.a *.o
>>
>
> Another use case for Maritza Mendez's extended wildcard support on
> Windows... :-)
>

That (bzr add) actually does use wildcard expansion already.

Back on topic...  The OP makes a good point about how per-user and
per-branch ignore rules resolve.  This would hardly matter if there were
only one user per branch, but that is not really the point.   I have spent a
fair bit of time cleaning up using techniques like the ones John suggests.
That's great if you have a unix-like shell, but maybe this should become a
feature request to make common use patterns less dependent on platform.

The per-branch ignore file could support "don't ignore" clauses which would
trump any ignores (both per-user and per-branch).  This would make
processing ignores slightly more expensive in the worst case -- but still
O(n) -- because any file matching an ignore pattern would have to be checked
against the don't-ignore patterns.

This whole thing reminds me of /etc/hosts.allow and /etc/hosts/deny...  The
exact rules might not matter (as long as they are documented).

~M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090910/1499903e/attachment-0002.htm 


More information about the bazaar mailing list