[MERGE] Add ignore patterns into bzr.dev

John Arbash Meinel john at arbash-meinel.com
Tue Jul 4 15:06:13 BST 2006


Martin Pool wrote:
> On  3 Jul 2006, John Arbash Meinel <john at arbash-meinel.com> wrote:
>> John Arbash Meinel wrote:
> 
>>> One thing that cropped up, is there is no way to add '#*#' in
>>> .bzrignore, because # is the comment character. And IIRC .bzrignore
>>> doesn't allow escaping the comment character.
> 
> I suspect you can get it with 
> 
> [#]*#

yep

> 
>> I was a little bit hasty with my previous submission. I decided that it
>> is probably reasonable to clean up .bzrignore while I'm in there.
>>
>> So I switched it to divide everything up into categories. Also, there
>> are quite a few entries that I think are cruft from old versions of bzr,
>> which I think we can remove.
> 
> Hm I wonder if it works OK to have blank lines in there?

It should. The old one would have skipped blank lines, the new one seems
to process them, but it would translate them into ^$, which is safe, if
unfortunate.

I'll mark it in my TODO list to fix the parser to ignore blank lines.
For now, I just need this so I can commit while having a file open.

...
> I think you could drop everything below here.  But anyhow, +1 to put
> this in.
>

Done. I specifically filtered them out so they would be discussed. Hence
the 'can we remove this'

> You could also add '.#*' which emacs creates and which used to be in the
> builtin list.

I added [#]*# and .#*.

John
=:->


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060704/1bf83797/attachment.pgp 


More information about the bazaar mailing list