1 # .hgignore - List of filenames hg should ignore
3 # Filenames that should be ignored wherever they appear
14 compile_commands\.json
16 # Ignore Python .egg-info directories for first-party modules (but,
17 # still add vendored packages' .egg-info directories)
18 ^(?=.*\.egg-info/)(?!^third_party/python/)(?!^testing/web-platform/tests/tools/third_party/)
24 # Emacs directory variable files.
26 # Emacs project sentinel files.
29 # User files that may appear at the root
42 # Empty marker file that's generated when we check out NSS
43 ^security/manager/\.nss\.checkout$
48 # gecko.log is generated by various test harnesses
51 # Ignore newtab component build assets
52 ^browser/components/newtab/logs/
54 # Ignore Pocket component build and dev assets
55 browser/components/pocket/content/panels/css/main.compiled.css.map
57 # Build directories for js shell
63 # SpiderMonkey configury
65 ^js/src/old-configure$
66 ^js/src/autom4te.cache$
67 # SpiderMonkey test result logs
68 ^js/src/tests/results-.*\.(html|txt)$
69 ^js/src/devtools/rootAnalysis/t/out
70 # SpiderMonkey wasm/generate-spectests artifacts
71 ^js/src/jit-test/etc/wasm/generate-spectests/specs/
72 ^js/src/jit-test/etc/wasm/generate-spectests/tests/
73 ^js/src/jit-test/etc/wasm/generate-spectests/target/
75 # Java HTML5 parser classes
76 ^parser/html/java/(html|java)parser/
81 # Ignore the files and directory that Eclipse IDE creates
86 # Ignore the files and directory that JetBrains IDEs create.
89 # Android Monitor in Android Studio creates a captures/ directory.
95 # Local Gradle configuration properties.
101 # Ignore chrome.manifest files from the devtools loader
102 ^devtools/client/chrome.manifest$
103 ^devtools/shared/chrome.manifest$
105 # Ignore node_modules directories in devtools
106 ^devtools/.*/node_modules/
108 # Ignore node_module directories and npm artifacts
109 ^remote/test/puppeteer/package-lock.json
110 ^remote/test/puppeteer/node_modules/
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/experimental/
116 ^remote/test/puppeteer/lib/
117 ^remote/test/puppeteer/test/output-firefox
118 ^remote/test/puppeteer/test/output-chromium
119 ^remote/test/puppeteer/website
121 # git checkout of libstagefright
122 ^media/libstagefright/android$
124 # Tag files generated by GNU Global
130 # Git clone directory for updating web-platform-tests
131 ^testing/web-platform/sync/
133 # Third party metadata for web-platform-tests
134 ^testing/web-platform/products/
136 # Android Gradle artifacts.
137 ^mobile/android/gradle/.gradle
139 # XCode project cruft
142 # Rust/Cargo output from running `cargo` directly
145 # Ignore mozharness execution files
146 ^testing/mozharness/.tox/
147 ^testing/mozharness/build/
148 ^testing/mozharness/logs/
149 ^testing/mozharness/.coverage
150 ^testing/mozharness/nosetests.xml
152 # Ignore tox generated dir
155 # Ignore ESLint and other tool's node_modules.
157 ^tools/browsertime/node_modules/
158 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
159 ^browser/components/newtab/node_modules/
160 ^browser/components/storybook/node_modules/
162 # Ignore talos virtualenv and tp5n files.
163 # The tp5n set is supposed to be decompressed at
164 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
165 # locally. Similarly, running talos requires a Python package virtual
166 # environment. Both the virtual environment and tp5n files end up littering
167 # the status command, so we ignore them.
168 ^testing/talos/.Python
170 ^testing/talos/include/
172 ^testing/talos/talos/fis/tp5n.zip
173 ^testing/talos/talos/fis/tp5n.tar.gz
174 ^testing/talos/talos/fis/tp5n
175 ^testing/talos/talos/tests/tp5n.zip
176 ^testing/talos/talos/tests/tp5n.tar.gz
177 ^testing/talos/talos/tests/tp5n
178 ^testing/talos/talos/tests/devtools/damp.manifest.develop
179 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
180 ^testing/talos/talos/webextensions/
183 ^testing/talos/talos/mitmproxy/mitmdump
184 ^testing/talos/talos/mitmproxy/mitmproxy
185 ^testing/talos/talos/mitmproxy/mitmweb
187 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
188 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
189 # i.e. speedometer, motionmark, stylebench
190 ^testing/talos/talos/tests/webkit/PerformanceTests
192 # Ignore toolchains.json created by tooltool.
198 # Ignore files created when running a reftest.
201 # Ignore sync tps logs and reports
205 # Ignore Visual Studio/Visual Studio Code workspace files.
207 \.vscode/(?!extensions\.json|tasks\.json)
210 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
213 # Ignore various raptor performance framework files
214 ^testing/raptor/.raptor-venv
215 ^testing/raptor/raptor-venv
216 ^testing/raptor/raptor/tests/json/
217 ^testing/raptor/webext/raptor/auto_gen_test_config.js
219 # Ignore condprofile build directory
220 ^testing/condprofile/build
222 # Ignore browsertime output directory
225 # Ignore the build directories of WebGPU and WebRender standalone builds.
230 # Ignore this files in certviewer
231 toolkit/components/certviewer/content/node_modules/
232 toolkit/components/certviewer/content/package-lock.json
234 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
235 ^taskcluster/docker/image_builder/build-image/target
237 # Ignore ICU4X experimentation data files.
238 # See intl/ICU4X.md for more details.
239 ^config/external/icu4x
241 # Ignore the index files generated by clangd.
242 ^.cache/clangd/index/