Bug 686354 - hgignore addition for Vim swap files. r=ted
authorRichard Newman <rnewman@mozilla.com>
Mon, 12 Sep 2011 17:25:24 -0700
changeset 76873 1a84481f69875da535508041e90041f06bd2deae
parent 76872 90a54cb7f985ea9613444d4cc2403e0171e76d09
child 76874 ddb49b079701d0a44947b087eda139a2401a6c73
push id340
push userclegnitto@mozilla.com
push dateTue, 08 Nov 2011 22:56:33 +0000
treeherdermozilla-esr52@c0983049bcaa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
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