default ignores don't ignore '.swp'
Martin Pool
mbp at sourcefrog.net
Thu Jan 12 02:05:28 GMT 2006
On 10 Jan 2006, Jan Hudec <bulb at ucw.cz> wrote:
> On Mon, Jan 09, 2006 at 14:15:37 -0500, Aaron Bentley wrote:
> > > Also, a bzr upgrade can do something like make .DS_Store ignored
> > > everywhere, rather than having to manually do it in every project that
> > > now has a non-default ignore set.
> >
> > Yes, there are other situations where it's handy to add new default
> > ignores, too. But if I have to chose between default-ignoring new types
> > and being able to override defaults, I'll take the latter. I'd be
> > happier if I didn't have to make that choice.
>
> Oh, no. Ignore patterns differing by client version! Aaargh! Flee!
> Ok, I am exagerating a |=========================================| bit.
Right, that would be awful.
> Basically, I don't think that adding new default ignores is a good
> thing. I think the behaviour of things like this should depend on the
> project and the user setting only.
>
> I believe a project should only ignore files that actually appear in
> that project. Ie. don't exclude *.o or core* in pure python project etc.
>
> I thing the user should be able to add their local patterns. Eg. if
> someone uses an editor that makes files like .{*}, they should have a
> way to ignore that for all their projects. .*.swp would be default
> there.
The behaviour we have (just about?) agreed is that the only effect of the
defaults is in supplying a default .bzrignore when you initialize a
tree. The defaults in there should be fairly conservative; if you want
to get rid of some edit them before doing the initial add and you're
done.
I suppose we could get rid of that default altogether but when people
initialize existing trees they might often accidentally add object
files.
--
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060112/3e8e7b2a/attachment.pgp
More information about the bazaar
mailing list