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 clone of the wasm-generate-testsuite repository
64 ^js/src/jit-test/etc/wasm/wasm-generate-testsuite/
66 # Java HTML5 parser classes
67 ^parser/html/java/(html|java)parser/
72 # Ignore the files and directory that Eclipse IDE creates
77 # Ignore the files and directory that JetBrains IDEs create.
80 # Android Monitor in Android Studio creates a captures/ directory.
85 ^tools/infer/test/.gradle/
87 # Local Gradle configuration properties.
93 # Ignore chrome.manifest files from the devtools loader
94 ^devtools/client/chrome.manifest$
95 ^devtools/shared/chrome.manifest$
97 # Ignore node_modules directories in devtools
98 ^devtools/.*/node_modules/
100 # Ignore node_module directories and npm artifacts
101 ^remote/test/puppeteer/package-lock.json
102 ^remote/test/puppeteer/node_modules/
103 ^remote/test/puppeteer/.local-chromium/
104 ^remote/test/puppeteer/.local-firefox/
105 ^remote/test/puppeteer/experimental/
106 ^remote/test/puppeteer/lib/
107 ^remote/test/puppeteer/test/output-firefox
108 ^remote/test/puppeteer/test/output-chromium
110 # git checkout of libstagefright
111 ^media/libstagefright/android$
113 # Tag files generated by GNU Global
119 # Git clone directory for updating web-platform-tests
120 ^testing/web-platform/sync/
122 # Third party metadata for web-platform-tests
123 ^testing/web-platform/products/
125 # Android Gradle artifacts.
126 ^mobile/android/gradle/.gradle
128 # XCode project cruft
131 # Rust/Cargo output from running `cargo` directly
134 # Ignore mozharness execution files
135 ^testing/mozharness/.tox/
136 ^testing/mozharness/build/
137 ^testing/mozharness/logs/
138 ^testing/mozharness/.coverage
139 ^testing/mozharness/nosetests.xml
141 # Ignore tox generated dir
144 # Ignore ESLint and other tool's node_modules.
146 ^tools/browsertime/node_modules/
147 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
148 ^browser/components/newtab/node_modules/
150 # Ignore talos virtualenv and tp5n files.
151 # The tp5n set is supposed to be decompressed at
152 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
153 # locally. Similarly, running talos requires a Python package virtual
154 # environment. Both the virtual environment and tp5n files end up littering
155 # the status command, so we ignore them.
156 ^testing/talos/.Python
158 ^testing/talos/include/
160 ^testing/talos/talos/fis/tp5n.zip
161 ^testing/talos/talos/fis/tp5n.tar.gz
162 ^testing/talos/talos/fis/tp5n
163 ^testing/talos/talos/tests/tp5n.zip
164 ^testing/talos/talos/tests/tp5n.tar.gz
165 ^testing/talos/talos/tests/tp5n
166 ^testing/talos/talos/tests/devtools/damp.manifest.develop
167 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
168 ^testing/talos/talos/webextensions/
169 ^testing/talos/talos/tests/about-newtab/about_newtab.manifest.develop
172 ^testing/talos/talos/mitmproxy/mitmdump
173 ^testing/talos/talos/mitmproxy/mitmproxy
174 ^testing/talos/talos/mitmproxy/mitmweb
176 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
177 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
178 # i.e. speedometer, motionmark, stylebench
179 ^testing/talos/talos/tests/webkit/PerformanceTests
181 # Ignore toolchains.json created by tooltool.
184 # Ignore files created when running a reftest.
187 # Ignore sync tps logs and reports
191 # Ignore Visual Studio Code workspace files.
192 \.vscode/(?!extensions\.json|tasks\.json)
194 # Ignore Infer output
197 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
200 # Ignore various raptor performance framework files
201 ^testing/raptor/.raptor-venv
202 ^testing/raptor/raptor-venv
203 ^testing/raptor/raptor/tests/json/
204 ^testing/raptor/webext/raptor/auto_gen_test_config.js
206 # Ignore browsertime output directory
209 # Ignore the build directories of WebGPU and WebRender standalone builds.
214 # Ignore this files in certviewer
215 toolkit/components/certviewer/content/node_modules/
216 toolkit/components/certviewer/content/package-lock.json
218 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
219 ^taskcluster/docker/image_builder/build-image/target