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 Pocket component build and dev assets
60 browser/components/pocket/content/panels/css/main.compiled.css.map
62 # Build directories for js shell
68 # SpiderMonkey configury
69 ^js/src/old-configure$
70 ^js/src/autom4te.cache$
71 # SpiderMonkey test result logs
72 ^js/src/tests/results-.*\.(html|txt)$
73 ^js/src/devtools/rootAnalysis/t/out
74 # SpiderMonkey wasm/generate-spectests artifacts
75 ^js/src/jit-test/etc/wasm/generate-spectests/specs/
76 ^js/src/jit-test/etc/wasm/generate-spectests/tests/
77 ^js/src/jit-test/etc/wasm/generate-spectests/target/
79 # Java HTML5 parser classes
80 ^parser/html/java/(html|java)parser/
85 # Ignore the files and directory that Eclipse IDE creates
90 # Ignore the files and directory that JetBrains IDEs create.
93 # Android Monitor in Android Studio creates a captures/ directory.
99 # Local Gradle configuration properties.
105 # Ignore chrome.manifest files from the devtools loader
106 ^devtools/client/chrome.manifest$
107 ^devtools/shared/chrome.manifest$
109 # Ignore node_modules directories in devtools
110 ^devtools/.*/node_modules/
112 # Ignore node_module directories and npm artifacts
113 ^remote/test/puppeteer/.*\.tsbuildinfo
114 ^remote/test/puppeteer/\.github
115 ^remote/test/puppeteer/\.husky
116 ^remote/test/puppeteer/coverage/
117 ^remote/test/puppeteer/.devcontainer/
118 ^remote/test/puppeteer/docker/
119 ^remote/test/puppeteer/docs/puppeteer-core\.api\.json
120 ^remote/test/puppeteer/docs/puppeteer\.api\.json
121 ^remote/test/puppeteer/experimental/
122 ^remote/test/puppeteer/lib/
123 ^remote/test/puppeteer/node_modules/
124 ^remote/test/puppeteer/package-lock\.json
125 ^remote/test/puppeteer/packages/ng-schematics/test/build
126 ^remote/test/puppeteer/src/generated
127 ^remote/test/puppeteer/test/build
128 ^remote/test/puppeteer/test/installation/puppeteer.*\.tgz
129 ^remote/test/puppeteer/test/output-firefox
130 ^remote/test/puppeteer/test/output-chromium
131 ^remote/test/puppeteer/testserver/lib/
132 ^remote/test/puppeteer/utils/mochaRunner/lib/
133 ^remote/test/puppeteer/website
135 ^third_party/js/PKI.js/node_modules/
136 ^third_party/js/PKI.js/package-lock.json
138 # git checkout of libstagefright
139 ^media/libstagefright/android$
141 # Tag files generated by GNU Global
147 # Git clone directory for updating web-platform-tests
148 ^testing/web-platform/sync/
150 # Third party metadata for web-platform-tests
151 ^testing/web-platform/products/
153 # Android Gradle artifacts.
154 ^mobile/android/gradle/.gradle
156 # XCode project cruft
159 # Rust/Cargo output from running `cargo` directly
161 ^servo/ports/geckolib/target/
162 ^dom/base/rust/target/
163 ^servo/components/style/target/
165 # Ignore mozharness execution files
166 ^testing/mozharness/.tox/
167 ^testing/mozharness/build/
168 ^testing/mozharness/logs/
169 ^testing/mozharness/.coverage
170 ^testing/mozharness/nosetests.xml
172 # Ignore tox generated dir
175 # Ignore ESLint and other tool's node_modules.
177 ^tools/browsertime/node_modules/
178 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
179 ^browser/components/newtab/node_modules/
180 ^tools/esmify/node_modules/
182 # Ignore talos virtualenv and tp5n files.
183 # The tp5n set is supposed to be decompressed at
184 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
185 # locally. Similarly, running talos requires a Python package virtual
186 # environment. Both the virtual environment and tp5n files end up littering
187 # the status command, so we ignore them.
188 ^testing/talos/.Python
190 ^testing/talos/include/
192 ^testing/talos/talos/fis/tp5n.zip
193 ^testing/talos/talos/fis/tp5n.tar.gz
194 ^testing/talos/talos/fis/tp5n
195 ^testing/talos/talos/tests/tp5n.zip
196 ^testing/talos/talos/tests/tp5n.tar.gz
197 ^testing/talos/talos/tests/tp5n
198 ^testing/talos/talos/tests/devtools/damp.manifest.develop
199 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
200 ^testing/talos/talos/webextensions/
203 ^testing/talos/talos/mitmproxy/mitmdump
204 ^testing/talos/talos/mitmproxy/mitmproxy
205 ^testing/talos/talos/mitmproxy/mitmweb
207 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
208 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
209 # i.e. speedometer, motionmark, stylebench
210 ^testing/talos/talos/tests/webkit/PerformanceTests
212 # Ignore toolchains.json created by tooltool.
218 # Ignore files created when running a reftest.
221 # Ignore sync tps logs and reports
225 # Ignore Visual Studio/Visual Studio Code workspace files.
227 \.vscode/(?!extensions\.json|tasks\.json)
230 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
233 # Ignore various raptor performance framework files
234 ^testing/raptor/.raptor-venv
235 ^testing/raptor/raptor-venv
236 ^testing/raptor/raptor/tests/json/
237 ^testing/raptor/webext/raptor/auto_gen_test_config.js
239 # Ignore condprofile build directory
240 ^testing/condprofile/build
242 # Ignore browsertime output directory
245 # Ignore the build directories of WebGPU and WebRender standalone builds.
250 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
251 ^taskcluster/docker/image_builder/build-image/target
253 # Ignore ICU4X experimentation data files.
254 # See intl/ICU4X.md for more details.
255 ^config/external/icu4x
257 # Ignore the index files generated by clangd.
258 ^.cache/clangd/index/
263 # Ignore Storybook generated files
264 ^browser/components/storybook/node_modules/
265 ^browser/components/storybook/storybook-static/
266 ^browser/components/storybook/.storybook/rewrites.js
267 ^browser/components/storybook/custom-elements.json
269 # Ignore jscodeshift installed by mach esmify on windows
270 ^tools/esmify/jscodeshift
271 ^tools/esmify/jscodeshift.cmd
272 ^tools/esmify/jscodeshift.ps1
273 ^tools/esmify/package-lock.json
275 # Ignore support files for en-US dictionary updates
276 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/scowl
277 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/support_files/
278 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/*en_US-mozilla*