[PATCH] Ignore more vim swapfiles
John A Meinel
john at arbash-meinel.com
Mon May 23 18:33:11 BST 2005
Aaron Bentley wrote:
> In addition to .*.swp files, Vim will occasionally generate .*.swo or
> .*.swn files. This patch ignores files with those extensions also.
>
> Aaron
At one point, there was a discussion that bzrignore would be capable of
handling zsh style globs so you could write '.*sw[pon]', which I assume
is true since we ignore '.*py[oc]'. I would recommend making the change
that way instead of adding more entries.
John
=:->
PS> Edited patch follows (not sure if patch will still like it.)
------------------------------------------------------------------------
*** modified file 'bzrlib/__init__.py'
--- bzrlib/__init__.py
+++ bzrlib/__init__.py
@@ -29,7 +29,7 @@
DEFAULT_IGNORE = ['.bzr.log',
'*~', '#*#', '*$', '.#*',
- '.*.swp', '.*.tmp',
+ '.*.sw[pon]', '.*.tmp',
'*.tmp', '*.bak', '*.BAK', '*.orig',
'*.o', '*.obj', '*.a', '*.py[oc]', '*.so', '*.exe',
'*.elc',
'{arch}', 'CVS', 'CVS.adm', '.svn', '_darcs', 'SCCS',
'RCS',
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 251 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050523/acbe0871/attachment.pgp
More information about the bazaar
mailing list