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
151 # Ignore mozharness execution files
152 ^testing/mozharness/.tox/
153 ^testing/mozharness/build/
154 ^testing/mozharness/logs/
155 ^testing/mozharness/.coverage
156 ^testing/mozharness/nosetests.xml
158 # Ignore tox generated dir
161 # Ignore ESLint and other tool's node_modules.
163 ^tools/browsertime/node_modules/
164 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
165 ^browser/components/newtab/node_modules/
166 ^tools/esmify/node_modules/
168 # Ignore talos virtualenv and tp5n files.
169 # The tp5n set is supposed to be decompressed at
170 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
171 # locally. Similarly, running talos requires a Python package virtual
172 # environment. Both the virtual environment and tp5n files end up littering
173 # the status command, so we ignore them.
174 ^testing/talos/.Python
176 ^testing/talos/include/
178 ^testing/talos/talos/fis/tp5n.zip
179 ^testing/talos/talos/fis/tp5n.tar.gz
180 ^testing/talos/talos/fis/tp5n
181 ^testing/talos/talos/tests/tp5n.zip
182 ^testing/talos/talos/tests/tp5n.tar.gz
183 ^testing/talos/talos/tests/tp5n
184 ^testing/talos/talos/tests/devtools/damp.manifest.develop
185 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
186 ^testing/talos/talos/webextensions/
189 ^testing/talos/talos/mitmproxy/mitmdump
190 ^testing/talos/talos/mitmproxy/mitmproxy
191 ^testing/talos/talos/mitmproxy/mitmweb
193 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
194 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
195 # i.e. speedometer, motionmark, stylebench
196 ^testing/talos/talos/tests/webkit/PerformanceTests
198 # Ignore toolchains.json created by tooltool.
204 # Ignore files created when running a reftest.
207 # Ignore sync tps logs and reports
211 # Ignore Visual Studio/Visual Studio Code workspace files.
213 \.vscode/(?!extensions\.json|tasks\.json)
216 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
219 # Ignore various raptor performance framework files
220 ^testing/raptor/.raptor-venv
221 ^testing/raptor/raptor-venv
222 ^testing/raptor/raptor/tests/json/
223 ^testing/raptor/webext/raptor/auto_gen_test_config.js
225 # Ignore condprofile build directory
226 ^testing/condprofile/build
228 # Ignore browsertime output directory
231 # Ignore the build directories of WebGPU and WebRender standalone builds.
236 # Ignore this files in certviewer
237 toolkit/components/certviewer/content/node_modules/
238 toolkit/components/certviewer/content/package-lock.json
240 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
241 ^taskcluster/docker/image_builder/build-image/target
243 # Ignore ICU4X experimentation data files.
244 # See intl/ICU4X.md for more details.
245 ^config/external/icu4x
247 # Ignore the index files generated by clangd.
248 ^.cache/clangd/index/
253 # Ignore Storybook generated files
254 ^browser/components/storybook/node_modules/
255 ^browser/components/storybook/storybook-static/
257 # Ignore jscodeshift installed by mach esmify on windows
258 ^tools/esmify/jscodeshift
259 ^tools/esmify/jscodeshift.cmd
260 ^tools/esmify/jscodeshift.ps1
261 ^tools/esmify/package-lock.json