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 # Build directories for js shell
59 # SpiderMonkey configury
61 ^js/src/old-configure$
62 ^js/src/autom4te.cache$
63 # SpiderMonkey test result logs
64 ^js/src/tests/results-.*\.(html|txt)$
65 ^js/src/devtools/rootAnalysis/t/out
66 # SpiderMonkey wasm/generate-spectests artifacts
67 ^js/src/jit-test/etc/wasm/generate-spectests/specs/
68 ^js/src/jit-test/etc/wasm/generate-spectests/tests/
69 ^js/src/jit-test/etc/wasm/generate-spectests/target/
71 # Java HTML5 parser classes
72 ^parser/html/java/(html|java)parser/
77 # Ignore the files and directory that Eclipse IDE creates
82 # Ignore the files and directory that JetBrains IDEs create.
85 # Android Monitor in Android Studio creates a captures/ directory.
91 # Local Gradle configuration properties.
97 # Ignore chrome.manifest files from the devtools loader
98 ^devtools/client/chrome.manifest$
99 ^devtools/shared/chrome.manifest$
101 # Ignore node_modules directories in devtools
102 ^devtools/.*/node_modules/
104 # Ignore node_module directories and npm artifacts
105 ^remote/test/puppeteer/package-lock.json
106 ^remote/test/puppeteer/node_modules/
107 ^remote/test/puppeteer/.local-chromium/
108 ^remote/test/puppeteer/.local-firefox/
109 ^remote/test/puppeteer/experimental/
110 ^remote/test/puppeteer/lib/
111 ^remote/test/puppeteer/test/output-firefox
112 ^remote/test/puppeteer/test/output-chromium
114 # git checkout of libstagefright
115 ^media/libstagefright/android$
117 # Tag files generated by GNU Global
123 # Git clone directory for updating web-platform-tests
124 ^testing/web-platform/sync/
126 # Third party metadata for web-platform-tests
127 ^testing/web-platform/products/
129 # Android Gradle artifacts.
130 ^mobile/android/gradle/.gradle
132 # XCode project cruft
135 # Rust/Cargo output from running `cargo` directly
138 # Ignore mozharness execution files
139 ^testing/mozharness/.tox/
140 ^testing/mozharness/build/
141 ^testing/mozharness/logs/
142 ^testing/mozharness/.coverage
143 ^testing/mozharness/nosetests.xml
145 # Ignore tox generated dir
148 # Ignore ESLint and other tool's node_modules.
150 ^tools/browsertime/node_modules/
151 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
152 ^browser/components/newtab/node_modules/
154 # Ignore talos virtualenv and tp5n files.
155 # The tp5n set is supposed to be decompressed at
156 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
157 # locally. Similarly, running talos requires a Python package virtual
158 # environment. Both the virtual environment and tp5n files end up littering
159 # the status command, so we ignore them.
160 ^testing/talos/.Python
162 ^testing/talos/include/
164 ^testing/talos/talos/fis/tp5n.zip
165 ^testing/talos/talos/fis/tp5n.tar.gz
166 ^testing/talos/talos/fis/tp5n
167 ^testing/talos/talos/tests/tp5n.zip
168 ^testing/talos/talos/tests/tp5n.tar.gz
169 ^testing/talos/talos/tests/tp5n
170 ^testing/talos/talos/tests/devtools/damp.manifest.develop
171 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
172 ^testing/talos/talos/webextensions/
175 ^testing/talos/talos/mitmproxy/mitmdump
176 ^testing/talos/talos/mitmproxy/mitmproxy
177 ^testing/talos/talos/mitmproxy/mitmweb
179 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
180 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
181 # i.e. speedometer, motionmark, stylebench
182 ^testing/talos/talos/tests/webkit/PerformanceTests
184 # Ignore toolchains.json created by tooltool.
190 # Ignore files created when running a reftest.
193 # Ignore sync tps logs and reports
197 # Ignore Visual Studio/Visual Studio Code workspace files.
199 \.vscode/(?!extensions\.json|tasks\.json)
201 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
204 # Ignore various raptor performance framework files
205 ^testing/raptor/.raptor-venv
206 ^testing/raptor/raptor-venv
207 ^testing/raptor/raptor/tests/json/
208 ^testing/raptor/webext/raptor/auto_gen_test_config.js
210 # Ignore browsertime output directory
213 # Ignore the build directories of WebGPU and WebRender standalone builds.
218 # Ignore this files in certviewer
219 toolkit/components/certviewer/content/node_modules/
220 toolkit/components/certviewer/content/package-lock.json
222 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
223 ^taskcluster/docker/image_builder/build-image/target