diff --git a/.gitignore b/.gitignore
index 965b40a85b..b40d932889 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
 Makefile*
 bin/*
+bundle/*
 !bin/data/chars.grf
 !bin/data/openttdd.grf
 !bin/data/openttdw.grf
diff --git a/.hgignore b/.hgignore
new file mode 100644
index 0000000000..de3910ff91
--- /dev/null
+++ b/.hgignore
@@ -0,0 +1,11 @@
+bin/lang/*
+bin/opentd*
+bundle/*
+config.cache.*
+config.log
+config.pwd
+Makefile
+Makefile.am
+media/openttd.desktop*
+objs/*
+src/rev.cpp