Bug 686354 - hgignore addition for Vim swap files. r=ted
authorRichard Newman <rnewman@mozilla.com>
Mon, 12 Sep 2011 17:25:24 -0700
changeset 76903 1a84481f69875da535508041e90041f06bd2deae
parent 76902 90a54cb7f985ea9613444d4cc2403e0171e76d09
child 76904 ddb49b079701d0a44947b087eda139a2401a6c73
push idunknown
push userunknown
push dateunknown
reviewersted
bugs686354
milestone9.0a1
Bug 686354 - hgignore addition for Vim swap files. r=ted
.hgignore
--- a/.hgignore
+++ b/.hgignore
@@ -2,16 +2,20 @@
 
 # Filenames that should be ignored wherever they appear
 ~$
 \.py(c|o)$
 (?i)(^|/)TAGS$
 (^|/)ID$
 (^|/)\.DS_Store$
 
+# Vim swap files.
+^\.sw.$
+.[^/]*\.sw.$
+
 # User files that may appear at the root
 ^\.mozconfig
 ^mozconfig$
 ^configure$
 ^config\.cache$
 ^config\.log$
 
 # Empty marker file that's generated when we check out NSS