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 id21152
push usermbrubeck@mozilla.com
push dateTue, 13 Sep 2011 13:34:26 +0000
treeherdermozilla-central@c9479e3f6c54 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs686354
milestone9.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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