default ignores don't ignore '.swp'

Martin Pool mbp at sourcefrog.net
Mon Jan 9 01:33:45 GMT 2006


On Sat, 2006-01-07 at 13:03 -0600, John Arbash Meinel wrote:
> If you do "bzr diff | vim -" vim will create a swap file named '.swp'
> because it does not have a name to mimic.
> The current default ignores do not match this, so it will show up as an
> unknown (and will be added by 'bzr add').

That's not good.

> I think we just need to change the pattern: '.*.sw[nop]', to '.*sw[nop]'
> or '*.sw[nop]'. Either that, or we just add an extra pattern '.sw[nop]'.
> (I have only seen it get to 'n' when you have a bunch of unnamed files).
> 
> So in one sense I would recommend changing the defaults to
> '.*.sw[op]', '.sw[nop]'

Yes, I think that's probably best.  I'll add that.  I'm also going to
fix https://launchpad.net/products/bzr/+bug/6413, which says that
Makefile.in shouldn't be on the default list.

-- 
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/20060109/c3112dc1/attachment.pgp 


More information about the bazaar mailing list