1 # .hgignore - List of filenames hg should ignore
3 # Filenames that should be ignored wherever they appear
14 compile_commands\.json
16 # Generated by hg (e.g. revert, failed patch, ...)
20 # Ignore Python .egg-info directories for first-party modules (but,
21 # still add vendored packages' .egg-info directories)
22 ^(?=.*\.egg-info/)(?!^third_party/python/)(?!^testing/web-platform/tests/tools/third_party/)
28 # Emacs directory variable files.
30 # Emacs project sentinel files.
33 # User files that may appear at the root
45 # Empty marker file that's generated when we check out NSS
46 ^security/manager/\.nss\.checkout$
51 # gecko.log is generated by various test harnesses
54 # Ignore newtab component build assets
55 ^browser/components/newtab/logs/
57 # Ignore Pocket component build and dev assets
58 browser/components/pocket/content/panels/css/main.compiled.css.map
60 # Build directories for js shell
66 # SpiderMonkey configury
67 ^js/src/old-configure$
68 ^js/src/autom4te.cache$
69 # SpiderMonkey test result logs
70 ^js/src/tests/results-.*\.(html|txt)$
71 ^js/src/devtools/rootAnalysis/t/out
72 # SpiderMonkey wasm/generate-spectests artifacts
73 ^js/src/jit-test/etc/wasm/generate-spectests/specs/
74 ^js/src/jit-test/etc/wasm/generate-spectests/tests/
75 ^js/src/jit-test/etc/wasm/generate-spectests/target/
77 # Java HTML5 parser classes
78 ^parser/html/java/(html|java)parser/
83 # Ignore the files and directory that Eclipse IDE creates
88 # Ignore the files and directory that JetBrains IDEs create.
91 # Android Monitor in Android Studio creates a captures/ directory.
97 # Local Gradle configuration properties.
103 # Ignore chrome.manifest files from the devtools loader
104 ^devtools/client/chrome.manifest$
105 ^devtools/shared/chrome.manifest$
107 # Ignore node_modules directories in devtools
108 ^devtools/.*/node_modules/
110 # Ignore node_module directories and npm artifacts
111 ^remote/test/puppeteer/.github
112 ^remote/test/puppeteer/.husky
113 ^remote/test/puppeteer/.local-chromium/
114 ^remote/test/puppeteer/.local-firefox/
115 ^remote/test/puppeteer/coverage/
116 ^remote/test/puppeteer/docker/
117 ^remote/test/puppeteer/experimental/
118 ^remote/test/puppeteer/lib/
119 ^remote/test/puppeteer/node_modules/
120 ^remote/test/puppeteer/package-lock.json
121 ^remote/test/puppeteer/test/build
122 ^remote/test/puppeteer/test/output-firefox
123 ^remote/test/puppeteer/test/output-chromium
124 ^remote/test/puppeteer/utils/testserver/tsconfig.tsbuildinfo
125 ^remote/test/puppeteer/website
127 # git checkout of libstagefright
128 ^media/libstagefright/android$
130 # Tag files generated by GNU Global
136 # Git clone directory for updating web-platform-tests
137 ^testing/web-platform/sync/
139 # Third party metadata for web-platform-tests
140 ^testing/web-platform/products/
142 # Android Gradle artifacts.
143 ^mobile/android/gradle/.gradle
145 # XCode project cruft
148 # Rust/Cargo output from running `cargo` directly
150 ^servo/ports/geckolib/target/
151 ^dom/base/rust/target/
152 ^servo/components/style/target/
154 # Ignore mozharness execution files
155 ^testing/mozharness/.tox/
156 ^testing/mozharness/build/
157 ^testing/mozharness/logs/
158 ^testing/mozharness/.coverage
159 ^testing/mozharness/nosetests.xml
161 # Ignore tox generated dir
164 # Ignore ESLint and other tool's node_modules.
166 ^tools/browsertime/node_modules/
167 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
168 ^browser/components/newtab/node_modules/
169 ^tools/esmify/node_modules/
171 # Ignore talos virtualenv and tp5n files.
172 # The tp5n set is supposed to be decompressed at
173 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
174 # locally. Similarly, running talos requires a Python package virtual
175 # environment. Both the virtual environment and tp5n files end up littering
176 # the status command, so we ignore them.
177 ^testing/talos/.Python
179 ^testing/talos/include/
181 ^testing/talos/talos/fis/tp5n.zip
182 ^testing/talos/talos/fis/tp5n.tar.gz
183 ^testing/talos/talos/fis/tp5n
184 ^testing/talos/talos/tests/tp5n.zip
185 ^testing/talos/talos/tests/tp5n.tar.gz
186 ^testing/talos/talos/tests/tp5n
187 ^testing/talos/talos/tests/devtools/damp.manifest.develop
188 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
189 ^testing/talos/talos/webextensions/
192 ^testing/talos/talos/mitmproxy/mitmdump
193 ^testing/talos/talos/mitmproxy/mitmproxy
194 ^testing/talos/talos/mitmproxy/mitmweb
196 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
197 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
198 # i.e. speedometer, motionmark, stylebench
199 ^testing/talos/talos/tests/webkit/PerformanceTests
201 # Ignore toolchains.json created by tooltool.
207 # Ignore files created when running a reftest.
210 # Ignore sync tps logs and reports
214 # Ignore Visual Studio/Visual Studio Code workspace files.
216 \.vscode/(?!extensions\.json|tasks\.json)
219 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
222 # Ignore various raptor performance framework files
223 ^testing/raptor/.raptor-venv
224 ^testing/raptor/raptor-venv
225 ^testing/raptor/raptor/tests/json/
226 ^testing/raptor/webext/raptor/auto_gen_test_config.js
228 # Ignore condprofile build directory
229 ^testing/condprofile/build
231 # Ignore browsertime output directory
234 # Ignore the build directories of WebGPU and WebRender standalone builds.
239 # Ignore this files in certviewer
240 toolkit/components/certviewer/content/node_modules/
241 toolkit/components/certviewer/content/package-lock.json
243 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
244 ^taskcluster/docker/image_builder/build-image/target
246 # Ignore ICU4X experimentation data files.
247 # See intl/ICU4X.md for more details.
248 ^config/external/icu4x
250 # Ignore the index files generated by clangd.
251 ^.cache/clangd/index/
256 # Ignore Storybook generated files
257 ^browser/components/storybook/node_modules/
258 ^browser/components/storybook/storybook-static/
260 # Ignore jscodeshift installed by mach esmify on windows
261 ^tools/esmify/jscodeshift
262 ^tools/esmify/jscodeshift.cmd
263 ^tools/esmify/jscodeshift.ps1
264 ^tools/esmify/package-lock.json