[MERGE] no default ignores

Matthew Hannigan mlh at zip.com.au
Tue Jun 13 01:28:03 BST 2006


On Mon, Jun 12, 2006 at 10:18:48AM -0400, Aaron Bentley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Robert Collins wrote:
> > On Mon, 2006-06-12 at 09:41 -0400, Aaron Bentley wrote:
> >>I will add that I never want to add .pyc files or vim editor backups, so
> >>I would appreciate if init provided a minimal default .bzrignore.
> > 
> > 
> > I spoke with Martin about this, and we agreed that providing no defaults
> > made sense. The rationale is that no default we choose will be right for
> > everyone, and its easy to customise and tweak, so its reasonable to go
> > with no default.
> 
> I think this is overly boolean.  No design choice we make will be right
> for everyone, but still we work on bzr, in the hope that it will be
> right for the vast majority of people.
> 
> You could argue that doing this would hurt performance, and I'd accept
> that.  But I think the number of people who want to version control .swp
> files approaches zero, and asking them to remove '*.swp' from .bzrignore
> or do 'bzr init --no-defaults' would not be unreasonable.

One could imagine a 'bzr init --guess-ignore' (as default even)
that would mostly do the right thing.

	$ bzr init .
	Note: guessed ignore-pattern: using python,linux ignores. (*.pyc, *.swp, *~)


Matt





More information about the bazaar mailing list