1 # .hgignore - List of filenames hg should ignore
3 # Filenames that should be ignored wherever they appear
15 compile_commands\.json
17 # Generated by hg (e.g. revert, failed patch, ...)
21 # Ignore Python .egg-info directories for first-party modules (but,
22 # still add vendored packages' .egg-info directories)
23 ^(?=.*\.egg-info/)(?!^third_party/python/)(?!^testing/web-platform/tests/tools/third_party/)
29 # Emacs directory variable files.
31 # Emacs project sentinel files.
34 # User files that may appear at the root
47 # Empty marker file that's generated when we check out NSS
48 ^security/manager/\.nss\.checkout$
53 # gecko.log is generated by various test harnesses
56 # Ignore newtab component build assets
57 ^browser/components/newtab/logs/
59 # Ignore ASRouter generated test files
60 ^browser/components/newtab/content-src/asrouter/schemas/corpus/CFRMessageProvider.messages.json
61 ^browser/components/newtab/content-src/asrouter/schemas/corpus/OnboardingMessageProvider.messages.json
62 ^browser/components/newtab/content-src/asrouter/schemas/corpus/PanelTestProvider.messages.json
63 ^browser/components/newtab/content-src/asrouter/schemas/corpus/PanelTestProvider_toast_notification.messages.json
65 # Ignore Pocket component build and dev assets
66 browser/components/pocket/content/panels/css/main.compiled.css.map
68 # Build directories for js shell
74 # SpiderMonkey configury
75 ^js/src/old-configure$
76 ^js/src/autom4te.cache$
77 # SpiderMonkey test result logs
78 ^js/src/tests/results-.*\.(html|txt)$
79 ^js/src/devtools/rootAnalysis/t/out
80 # SpiderMonkey wasm/generate-spectests artifacts
81 ^js/src/jit-test/etc/wasm/generate-spectests/specs/
82 ^js/src/jit-test/etc/wasm/generate-spectests/tests/
83 ^js/src/jit-test/etc/wasm/generate-spectests/target/
85 # Java HTML5 parser classes
86 ^parser/html/java/(html|java)parser/
91 # Ignore the files and directory that Eclipse IDE creates
96 # Ignore the files and directory that JetBrains IDEs create.
99 # Android Monitor in Android Studio creates a captures/ directory.
105 # Local Gradle configuration properties.
111 # Ignore chrome.manifest files from the devtools loader
112 ^devtools/client/chrome.manifest$
113 ^devtools/shared/chrome.manifest$
115 # Ignore node_modules directories in devtools
116 ^devtools/.*/node_modules/
118 # Ignore node_module directories and npm artifacts
119 ^remote/test/puppeteer/.*\.tsbuildinfo
120 ^remote/test/puppeteer/.*/lib/
121 ^remote/test/puppeteer/.*/node_modules/
122 ^remote/test/puppeteer/.*/\.wireit/
123 ^remote/test/puppeteer/\.devcontainer/
124 ^remote/test/puppeteer/\.github
125 ^remote/test/puppeteer/\.husky
126 ^remote/test/puppeteer/\.wireit/
127 ^remote/test/puppeteer/coverage/
128 ^remote/test/puppeteer/docker/
129 ^remote/test/puppeteer/docs/puppeteer-core\.api\.json
130 ^remote/test/puppeteer/docs/puppeteer\.api\.json
131 ^remote/test/puppeteer/experimental/
132 ^remote/test/puppeteer/lib/
133 ^remote/test/puppeteer/node_modules/
134 ^remote/test/puppeteer/package-lock\.json
135 ^remote/test/puppeteer/packages/ng-schematics/test/build
136 ^remote/test/puppeteer/src/generated
137 ^remote/test/puppeteer/test/build
138 ^remote/test/puppeteer/test/installation/puppeteer.*\.tgz
139 ^remote/test/puppeteer/test/output-firefox
140 ^remote/test/puppeteer/test/output-chromium
141 ^remote/test/puppeteer/testserver/lib/
142 ^remote/test/puppeteer/utils/mochaRunner/lib/
143 ^remote/test/puppeteer/website
145 ^third_party/js/PKI.js/node_modules/
146 ^third_party/js/PKI.js/package-lock.json
148 # git checkout of libstagefright
149 ^media/libstagefright/android$
151 # Tag files generated by GNU Global
157 # Git clone directory for updating web-platform-tests
158 ^testing/web-platform/sync/
160 # Third party metadata for web-platform-tests
161 ^testing/web-platform/products/
163 # Android Gradle artifacts.
164 ^mobile/android/gradle/.gradle
166 # XCode project cruft
169 # Rust/Cargo output from running `cargo` directly
171 ^servo/ports/geckolib/target/
172 ^dom/base/rust/target/
173 ^servo/components/style/target/
174 ^dom/webgpu/tests/cts/vendor/target/
176 # Ignore mozharness execution files
177 ^testing/mozharness/.tox/
178 ^testing/mozharness/build/
179 ^testing/mozharness/logs/
180 ^testing/mozharness/.coverage
181 ^testing/mozharness/nosetests.xml
183 # Ignore tox generated dir
186 # Ignore ESLint and other tool's node_modules.
188 ^tools/browsertime/node_modules/
189 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
190 ^browser/components/newtab/node_modules/
191 ^tools/esmify/node_modules/
193 # Ignore talos virtualenv and tp5n files.
194 # The tp5n set is supposed to be decompressed at
195 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
196 # locally. Similarly, running talos requires a Python package virtual
197 # environment. Both the virtual environment and tp5n files end up littering
198 # the status command, so we ignore them.
199 ^testing/talos/.Python
201 ^testing/talos/include/
203 ^testing/talos/talos/fis/tp5n.zip
204 ^testing/talos/talos/fis/tp5n.tar.gz
205 ^testing/talos/talos/fis/tp5n
206 ^testing/talos/talos/tests/tp5n.zip
207 ^testing/talos/talos/tests/tp5n.tar.gz
208 ^testing/talos/talos/tests/tp5n
209 ^testing/talos/talos/tests/devtools/damp.manifest.develop
210 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
211 ^testing/talos/talos/webextensions/
214 ^testing/talos/talos/mitmproxy/mitmdump
215 ^testing/talos/talos/mitmproxy/mitmproxy
216 ^testing/talos/talos/mitmproxy/mitmweb
218 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
219 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
220 # i.e. speedometer, motionmark, stylebench
221 ^testing/talos/talos/tests/webkit/PerformanceTests
223 # Ignore toolchains.json created by tooltool.
232 # Ignore files created when running a reftest.
235 # Ignore sync tps logs and reports
239 # Ignore Visual Studio/Visual Studio Code workspace files.
241 \.vscode/(?!extensions\.json|tasks\.json)
244 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
247 # Ignore various raptor performance framework files
248 ^testing/raptor/.raptor-venv
249 ^testing/raptor/raptor-venv
250 ^testing/raptor/raptor/tests/json/
251 ^testing/raptor/webext/raptor/auto_gen_test_config.js
253 # Ignore condprofile build directory
254 ^testing/condprofile/build
256 # Ignore browsertime output directory
259 # Ignore the build directories of WebGPU and WebRender standalone builds.
264 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
265 ^taskcluster/docker/image_builder/build-image/target
267 # Ignore ICU4X experimentation data files.
268 # See intl/ICU4X.md for more details.
269 ^config/external/icu4x
271 # Ignore the index files generated by clangd.
272 ^.cache/clangd/index/
277 # Ignore Storybook generated files
278 ^browser/components/storybook/node_modules/
279 ^browser/components/storybook/storybook-static/
280 ^browser/components/storybook/.storybook/chrome-map.js
281 ^browser/components/storybook/custom-elements.json
283 # Ignore jscodeshift installed by mach esmify on windows
284 ^tools/esmify/jscodeshift
285 ^tools/esmify/jscodeshift.cmd
286 ^tools/esmify/jscodeshift.ps1
287 ^tools/esmify/package-lock.json
289 # Ignore support files for en-US dictionary updates
290 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/scowl
291 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/support_files/
292 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/*en_US-mozilla*