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
41 # Empty marker file that's generated when we check out NSS
42 ^security/manager/\.nss\.checkout$
47 # gecko.log is generated by various test harnesses
50 # Ignore newtab component build assets
51 ^browser/components/newtab/logs/
53 # Ignore Pocket component build and dev assets
54 browser/components/pocket/content/panels/css/main.compiled.css.map
56 # Build directories for js shell
62 # SpiderMonkey configury
64 ^js/src/old-configure$
65 ^js/src/autom4te.cache$
66 # SpiderMonkey test result logs
67 ^js/src/tests/results-.*\.(html|txt)$
68 ^js/src/devtools/rootAnalysis/t/out
69 # SpiderMonkey wasm/generate-spectests artifacts
70 ^js/src/jit-test/etc/wasm/generate-spectests/specs/
71 ^js/src/jit-test/etc/wasm/generate-spectests/tests/
72 ^js/src/jit-test/etc/wasm/generate-spectests/target/
74 # Java HTML5 parser classes
75 ^parser/html/java/(html|java)parser/
80 # Ignore the files and directory that Eclipse IDE creates
85 # Ignore the files and directory that JetBrains IDEs create.
88 # Android Monitor in Android Studio creates a captures/ directory.
94 # Local Gradle configuration properties.
100 # Ignore chrome.manifest files from the devtools loader
101 ^devtools/client/chrome.manifest$
102 ^devtools/shared/chrome.manifest$
104 # Ignore node_modules directories in devtools
105 ^devtools/.*/node_modules/
107 # Ignore node_module directories and npm artifacts
108 ^remote/test/puppeteer/package-lock.json
109 ^remote/test/puppeteer/node_modules/
110 ^remote/test/puppeteer/.github
111 ^remote/test/puppeteer/.husky
112 ^remote/test/puppeteer/.local-chromium/
113 ^remote/test/puppeteer/.local-firefox/
114 ^remote/test/puppeteer/experimental/
115 ^remote/test/puppeteer/lib/
116 ^remote/test/puppeteer/test/output-firefox
117 ^remote/test/puppeteer/test/output-chromium
118 ^remote/test/puppeteer/website
120 # git checkout of libstagefright
121 ^media/libstagefright/android$
123 # Tag files generated by GNU Global
129 # Git clone directory for updating web-platform-tests
130 ^testing/web-platform/sync/
132 # Third party metadata for web-platform-tests
133 ^testing/web-platform/products/
135 # Android Gradle artifacts.
136 ^mobile/android/gradle/.gradle
138 # XCode project cruft
141 # Rust/Cargo output from running `cargo` directly
144 # Ignore mozharness execution files
145 ^testing/mozharness/.tox/
146 ^testing/mozharness/build/
147 ^testing/mozharness/logs/
148 ^testing/mozharness/.coverage
149 ^testing/mozharness/nosetests.xml
151 # Ignore tox generated dir
154 # Ignore ESLint and other tool's node_modules.
156 ^tools/browsertime/node_modules/
157 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
158 ^browser/components/newtab/node_modules/
160 # Ignore talos virtualenv and tp5n files.
161 # The tp5n set is supposed to be decompressed at
162 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
163 # locally. Similarly, running talos requires a Python package virtual
164 # environment. Both the virtual environment and tp5n files end up littering
165 # the status command, so we ignore them.
166 ^testing/talos/.Python
168 ^testing/talos/include/
170 ^testing/talos/talos/fis/tp5n.zip
171 ^testing/talos/talos/fis/tp5n.tar.gz
172 ^testing/talos/talos/fis/tp5n
173 ^testing/talos/talos/tests/tp5n.zip
174 ^testing/talos/talos/tests/tp5n.tar.gz
175 ^testing/talos/talos/tests/tp5n
176 ^testing/talos/talos/tests/devtools/damp.manifest.develop
177 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
178 ^testing/talos/talos/webextensions/
181 ^testing/talos/talos/mitmproxy/mitmdump
182 ^testing/talos/talos/mitmproxy/mitmproxy
183 ^testing/talos/talos/mitmproxy/mitmweb
185 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
186 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
187 # i.e. speedometer, motionmark, stylebench
188 ^testing/talos/talos/tests/webkit/PerformanceTests
190 # Ignore toolchains.json created by tooltool.
196 # Ignore files created when running a reftest.
199 # Ignore sync tps logs and reports
203 # Ignore Visual Studio/Visual Studio Code workspace files.
205 \.vscode/(?!extensions\.json|tasks\.json)
207 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
210 # Ignore various raptor performance framework files
211 ^testing/raptor/.raptor-venv
212 ^testing/raptor/raptor-venv
213 ^testing/raptor/raptor/tests/json/
214 ^testing/raptor/webext/raptor/auto_gen_test_config.js
216 # Ignore browsertime output directory
219 # Ignore the build directories of WebGPU and WebRender standalone builds.
224 # Ignore this files in certviewer
225 toolkit/components/certviewer/content/node_modules/
226 toolkit/components/certviewer/content/package-lock.json
228 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
229 ^taskcluster/docker/image_builder/build-image/target
231 # Ignore ICU4X experimentation data files.
232 # See intl/ICU4X.md for more details.
233 ^config/external/icu4x
235 # Ignore the index files generated by clangd.
236 ^.cache/clangd/index/