[MERGE] Add ignore patterns into bzr.dev

Martin Pool mbp at canonical.com
Tue Jul 4 02:09:09 BST 2006


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 

[#]*#

> 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?

> *.py[oc]
> # These are created as byproducts of our test suite
> ./test*.tmp
> ./.python-eggs
> ./.bzr.log
> # Generated files
> CHANGELOG
> bzr.1
> ./doc/*.html
> ./tutorial.html
> BRANCH-INFO
> # setup.py working directory
> build
> # Editor temporary/working/backup files
> *$
> .*.sw[nop]
> .sw[nop]
> *~
> ./tags
> # The shelf plugin uses this dir
> ./.shelf
> # Mac droppings
> .DS_Store

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

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

> # Arch droppings, do we need these anymore?
> .arch-ids
> .arch-inventory
> {arch}
> ,,*
> # Old things, probably should be removed
> .bzr.profile
> .bzr-shelf
> bzr-test.log
> testbzr.log
> api
> ./ID
-- 
Martin




More information about the bazaar mailing list