diff --git a/.hgignore b/.hgignore
index 8e02212e798d361189954a62ba75b96056736e52..6357f0afd7f7361925898400e2dd47820633f361 100644
--- a/.hgignore
+++ b/.hgignore
@@ -44,3 +44,7 @@ tarfile_tmp
 ^indra/web/dataservice/lib/shared/vault.*
 ^indra/web/dataservice/vendor.*
 glob:indra/newview/dbghelp.dll
+glob:*.cpp.orig
+glob:*.cpp.bak
+glob:*.h.bak
+glob:*.h.orig