1 # .hgignore - List of filenames hg should ignore
3 # Filenames that should be ignored wherever they appear
15 compile_commands\.json
21 # Emacs directory variable files.
23 # Emacs project sentinel files.
26 # User files that may appear at the root
38 # Empty marker file that's generated when we check out NSS
39 ^security/manager/\.nss\.checkout$
44 # gecko.log is generated by various test harnesses
47 # Ignore newtab component build assets
48 ^browser/components/newtab/logs/
50 # Build directories for js shell
56 # SpiderMonkey configury
58 ^js/src/old-configure$
59 ^js/src/autom4te.cache$
60 # SpiderMonkey test result logs
61 ^js/src/tests/results-.*\.(html|txt)$
62 ^js/src/devtools/rootAnalysis/t/out
63 # SpiderMonkey wasm/generate-spectests artifacts
64 ^js/src/jit-test/etc/wasm/generate-spectests/specs/
65 ^js/src/jit-test/etc/wasm/generate-spectests/tests/
66 ^js/src/jit-test/etc/wasm/generate-spectests/target/
68 # Java HTML5 parser classes
69 ^parser/html/java/(html|java)parser/
74 # Ignore the files and directory that Eclipse IDE creates
79 # Ignore the files and directory that JetBrains IDEs create.
82 # Android Monitor in Android Studio creates a captures/ directory.
87 ^tools/infer/test/.gradle/
89 # Local Gradle configuration properties.
95 # Ignore chrome.manifest files from the devtools loader
96 ^devtools/client/chrome.manifest$
97 ^devtools/shared/chrome.manifest$
99 # Ignore node_modules directories in devtools
100 ^devtools/.*/node_modules/
102 # Ignore node_module directories and npm artifacts
103 ^remote/test/puppeteer/package-lock.json
104 ^remote/test/puppeteer/node_modules/
105 ^remote/test/puppeteer/.local-chromium/
106 ^remote/test/puppeteer/.local-firefox/
107 ^remote/test/puppeteer/experimental/
108 ^remote/test/puppeteer/lib/
109 ^remote/test/puppeteer/test/output-firefox
110 ^remote/test/puppeteer/test/output-chromium
112 # git checkout of libstagefright
113 ^media/libstagefright/android$
115 # Tag files generated by GNU Global
121 # Git clone directory for updating web-platform-tests
122 ^testing/web-platform/sync/
124 # Third party metadata for web-platform-tests
125 ^testing/web-platform/products/
127 # Android Gradle artifacts.
128 ^mobile/android/gradle/.gradle
130 # XCode project cruft
133 # Rust/Cargo output from running `cargo` directly
136 # Ignore mozharness execution files
137 ^testing/mozharness/.tox/
138 ^testing/mozharness/build/
139 ^testing/mozharness/logs/
140 ^testing/mozharness/.coverage
141 ^testing/mozharness/nosetests.xml
143 # Ignore tox generated dir
146 # Ignore ESLint and other tool's node_modules.
148 ^tools/browsertime/node_modules/
149 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
150 ^browser/components/newtab/node_modules/
152 # Ignore talos virtualenv and tp5n files.
153 # The tp5n set is supposed to be decompressed at
154 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
155 # locally. Similarly, running talos requires a Python package virtual
156 # environment. Both the virtual environment and tp5n files end up littering
157 # the status command, so we ignore them.
158 ^testing/talos/.Python
160 ^testing/talos/include/
162 ^testing/talos/talos/fis/tp5n.zip
163 ^testing/talos/talos/fis/tp5n.tar.gz
164 ^testing/talos/talos/fis/tp5n
165 ^testing/talos/talos/tests/tp5n.zip
166 ^testing/talos/talos/tests/tp5n.tar.gz
167 ^testing/talos/talos/tests/tp5n
168 ^testing/talos/talos/tests/devtools/damp.manifest.develop
169 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
170 ^testing/talos/talos/webextensions/
173 ^testing/talos/talos/mitmproxy/mitmdump
174 ^testing/talos/talos/mitmproxy/mitmproxy
175 ^testing/talos/talos/mitmproxy/mitmweb
177 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
178 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
179 # i.e. speedometer, motionmark, stylebench
180 ^testing/talos/talos/tests/webkit/PerformanceTests
182 # Ignore toolchains.json created by tooltool.
185 # Ignore files created when running a reftest.
188 # Ignore sync tps logs and reports
192 # Ignore Visual Studio Code workspace files.
193 \.vscode/(?!extensions\.json|tasks\.json)
195 # Ignore Infer output
198 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
201 # Ignore various raptor performance framework files
202 ^testing/raptor/.raptor-venv
203 ^testing/raptor/raptor-venv
204 ^testing/raptor/raptor/tests/json/
205 ^testing/raptor/webext/raptor/auto_gen_test_config.js
207 # Ignore browsertime output directory
210 # Ignore the build directories of WebGPU and WebRender standalone builds.
215 # Ignore this files in certviewer
216 toolkit/components/certviewer/content/node_modules/
217 toolkit/components/certviewer/content/package-lock.json
219 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
220 ^taskcluster/docker/image_builder/build-image/target