default ignores don't ignore '.swp'

John Arbash Meinel john at arbash-meinel.com
Sat Jan 7 19:03:48 GMT 2006


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').
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]'

John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060107/237eb43f/attachment.pgp 


More information about the bazaar mailing list