diff --git a/.hgignore b/.hgignore
index 41dd18cf94c18c24c28a8bd7769e381c2f473a27..342b22ec4537ff29f37d6b3bf514650352b26b6f 100644
--- a/.hgignore
+++ b/.hgignore
@@ -7,6 +7,7 @@ syntax: glob
 **.o
 **.o.cmd
 **.swp
+**~
 .tmp_versions
 ChangeLog
 Doxyfile