.bzrignore and bzr ignore are confusing (was Re: bzr commands taking a filename)
Aaron Bentley
aaron.bentley at utoronto.ca
Fri Dec 9 14:41:10 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michael Ellerman wrote:
> Call me an idjiot, but I think .bzrignore and the bzr ignore command as they
> stand are a tad confusing.
Oh, I think everyone agrees about that.
> - I don't think it's obvious what this should do:
> # cd subdir
> # bzr ignore file-in-subdir
I think it should add subdir/file-in-subdir to .bzrignore.
> 1. bzr ignore no longer exists, to ignore files you edit .bzrignore.
When you have an unknown file, there are two things you can do with it:
add to inventory, or ignore it. It would be nice if the UI for doing
each was the same.
> 2. We change the format of .bzrignore to be more explicit.
That sounds useful to me.
> 3. bzr init creates a template .bzrignore with helpful comments.
.bzrignore overrides the default ignores, so we would lose useful
functionality if bzr init created it. For example, the shelf plugin
adds .bzr-shelf to the list of default ignores, which means if you don't
have a .bzrignore, you don't have to add .bzr-shelf to it.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDmZeG0F+nu1YWqI0RAlUHAJ966SJ6oxyOSK1l7rUWbwNAo1I6BwCghEFG
seNZQOFGZtNYUMrdzicWMs0=
=5uwi
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list