default ignores don't ignore '.swp'

Martin Pool mbp at sourcefrog.net
Mon Jan 9 23:59:10 GMT 2006


On Tue, 2006-01-10 at 09:14 +1100, Robert Collins wrote:
> On Mon, 2006-01-09 at 14:09 -0800, Robey Pointer wrote:
> > On 9 Jan 2006, at 13:24, Aaron Bentley wrote:
> > 
> > > For me, it comes back to "the defaults should be *default*, not
> > > *mandatory*".  But okay, let's not overreact.  We can pull Makefile.in
> > > from the default ignores, since that's the immediate request.
> > >
> > > Does anyone else have ideas about how we should handle this?
> > 
> > I agree with your statement above.  I want to be able to remove  
> > elements from .bzrignore as well as add them.  Maybe I want to check  
> > in .pyc files for some nefarious reason.  bzr shouldn't force this  
> > kind of thing on people.
> 
> Right, my preference is what we did in tla - we write the ignores
> default list to disk on tree initialisation and thereafter do nothing.

That would be OK with me too.  

> With format upgrades we can vary this: write new/remove deleted defaults
> from the tree ignore list when upgrade is run.
> 
> I.e. when 'bzr upgrade' is run on our next upgrade, the current
> mandatory defaults are written to disk, and the ignore logic for that
> format tree only uses what the tree says.

I'm less happy with editiing user files during an upgrade.  If the
ignore list didn't suit their project presumably they've already fixed
it?

-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060110/8c5d6741/attachment.pgp 


More information about the bazaar mailing list