[MERGE] Add ignore patterns into bzr.dev

John Arbash Meinel john at arbash-meinel.com
Mon Jul 3 17:40:50 BST 2006


John Arbash Meinel wrote:
> Since we finally bit the bullet and got rid of having default ignores in
> a tree, we need to add the good ignores back into .bzrignore for the
> bzr.dev tree.
> 
> 
> 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.
> 
> Anyway, the attached bundle adds the ones I know we end up having in our
> tree, I'm not sure if there are others. I know i thought #*# was an
> emacs temp file, so we probably need to figure out how to add it for
> emacs users that also like commit --strict.
> 
> I don't know what creates *$ files, but it looked like an editor temp file.
> 
> John
> =:->


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.

I also moved things that are likely to match up higher on the list. I
don't know if this will effect performance much, but maybe a little.

I'm just posting the final ignore list, because the diff is more
confusing than helpful (because I moved stuff around)

John
=:->


*.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
# 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




More information about the bazaar mailing list