1 # .hgignore - List of filenames hg should ignore
3 # Filenames that should be ignored wherever they appear
15 compile_commands\.json
21 # Emacs directory variable files.
23 # Emacs project sentinel files.
26 # User files that may appear at the root
38 # Empty marker file that's generated when we check out NSS
39 ^security/manager/\.nss\.checkout$
44 # gecko.log is generated by various test harnesses
47 # Ignore newtab component build assets
48 ^browser/components/newtab/logs/
50 # Build directories for js shell
56 # SpiderMonkey configury
58 ^js/src/old-configure$
59 ^js/src/autom4te.cache$
60 # SpiderMonkey test result logs
61 ^js/src/tests/results-.*\.(html|txt)$
62 ^js/src/devtools/rootAnalysis/t/out
63 # SpiderMonkey clone of the wasm-generate-testsuite repository
64 ^js/src/jit-test/etc/wasm/wasm-generate-testsuite/
66 # Java HTML5 parser classes
67 ^parser/html/java/(html|java)parser/
72 # Ignore the files and directory that Eclipse IDE creates
77 # Ignore the files and directory that JetBrains IDEs create.
80 # Android Monitor in Android Studio creates a captures/ directory.
85 ^tools/infer/test/.gradle/
87 # Local Gradle configuration properties.
90 # Python stuff installed at build time.
91 ^third_party/python/psutil/.*\.so
92 ^third_party/python/psutil/.*\.pyd
93 ^third_party/python/psutil/build/
94 ^third_party/python/psutil/tmp/
99 # Ignore chrome.manifest files from the devtools loader
100 ^devtools/client/chrome.manifest$
101 ^devtools/shared/chrome.manifest$
103 # Ignore node_modules directories in devtools
104 ^devtools/.*/node_modules/
106 # Ignore node_module directories and npm artifacts
107 ^remote/test/puppeteer/package-lock.json
108 ^remote/test/puppeteer/node_modules/
109 ^remote/test/puppeteer/.local-chromium/
110 ^remote/test/puppeteer/.local-firefox/
111 ^remote/test/puppeteer/experimental/
112 ^remote/test/puppeteer/lib/
113 ^remote/test/puppeteer/test/output-firefox
114 ^remote/test/puppeteer/test/output-chromium
116 # git checkout of libstagefright
117 ^media/libstagefright/android$
119 # Tag files generated by GNU Global
125 # Git clone directory for updating web-platform-tests
126 ^testing/web-platform/sync/
128 # Third party metadata for web-platform-tests
129 ^testing/web-platform/products/
131 # Android Gradle artifacts.
132 ^mobile/android/gradle/.gradle
134 # XCode project cruft
137 # Rust/Cargo output from running `cargo` directly
140 # Ignore mozharness execution files
141 ^testing/mozharness/.tox/
142 ^testing/mozharness/build/
143 ^testing/mozharness/logs/
144 ^testing/mozharness/.coverage
145 ^testing/mozharness/nosetests.xml
147 # Ignore tox generated dir
150 # Ignore ESLint and other tool's node_modules.
152 ^tools/browsertime/node_modules/
153 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
154 ^browser/components/newtab/node_modules/
156 # Ignore talos virtualenv and tp5n files.
157 # The tp5n set is supposed to be decompressed at
158 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
159 # locally. Similarly, running talos requires a Python package virtual
160 # environment. Both the virtual environment and tp5n files end up littering
161 # the status command, so we ignore them.
162 ^testing/talos/.Python
164 ^testing/talos/include/
166 ^testing/talos/talos/fis/tp5n.zip
167 ^testing/talos/talos/fis/tp5n.tar.gz
168 ^testing/talos/talos/fis/tp5n
169 ^testing/talos/talos/tests/tp5n.zip
170 ^testing/talos/talos/tests/tp5n.tar.gz
171 ^testing/talos/talos/tests/tp5n
172 ^testing/talos/talos/tests/devtools/damp.manifest.develop
173 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
174 ^testing/talos/talos/webextensions/
175 ^testing/talos/talos/tests/about-newtab/about_newtab.manifest.develop
178 ^testing/talos/talos/mitmproxy/mitmdump
179 ^testing/talos/talos/mitmproxy/mitmproxy
180 ^testing/talos/talos/mitmproxy/mitmweb
182 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
183 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
184 # i.e. speedometer, motionmark, stylebench
185 ^testing/talos/talos/tests/webkit/PerformanceTests
187 # Ignore toolchains.json created by tooltool.
190 # Ignore files created when running a reftest.
193 # Ignore sync tps logs and reports
197 # Ignore Visual Studio Code workspace files.
198 \.vscode/(?!extensions\.json|tasks\.json)
200 # Ignore Infer output
203 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
206 # Ignore various raptor performance framework files
207 ^testing/raptor/.raptor-venv
208 ^testing/raptor/raptor-venv
209 ^testing/raptor/raptor/tests/json/
210 ^testing/raptor/webext/raptor/auto_gen_test_config.js
212 # Ignore browsertime output directory
215 # Ignore the build directories of WebGPU and WebRender standalone builds.
220 # Ignore this files in certviewer
221 toolkit/components/certviewer/content/node_modules/
222 toolkit/components/certviewer/content/package-lock.json
224 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
225 ^taskcluster/docker/image_builder/build-image/target