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/.github
108 ^remote/test/puppeteer/.husky
109 ^remote/test/puppeteer/.local-chromium/
110 ^remote/test/puppeteer/.local-firefox/
111 ^remote/test/puppeteer/experimental/
112 ^remote/test/puppeteer/lib/
113 ^remote/test/puppeteer/test/output-firefox
114 ^remote/test/puppeteer/test/output-chromium
115 ^remote/test/puppeteer/website
117 # git checkout of libstagefright
118 ^media/libstagefright/android$
120 # Tag files generated by GNU Global
126 # Git clone directory for updating web-platform-tests
127 ^testing/web-platform/sync/
129 # Third party metadata for web-platform-tests
130 ^testing/web-platform/products/
132 # Android Gradle artifacts.
133 ^mobile/android/gradle/.gradle
135 # XCode project cruft
138 # Rust/Cargo output from running `cargo` directly
141 # Ignore mozharness execution files
142 ^testing/mozharness/.tox/
143 ^testing/mozharness/build/
144 ^testing/mozharness/logs/
145 ^testing/mozharness/.coverage
146 ^testing/mozharness/nosetests.xml
148 # Ignore tox generated dir
151 # Ignore ESLint and other tool's node_modules.
153 ^tools/browsertime/node_modules/
154 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
155 ^browser/components/newtab/node_modules/
157 # Ignore talos virtualenv and tp5n files.
158 # The tp5n set is supposed to be decompressed at
159 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
160 # locally. Similarly, running talos requires a Python package virtual
161 # environment. Both the virtual environment and tp5n files end up littering
162 # the status command, so we ignore them.
163 ^testing/talos/.Python
165 ^testing/talos/include/
167 ^testing/talos/talos/fis/tp5n.zip
168 ^testing/talos/talos/fis/tp5n.tar.gz
169 ^testing/talos/talos/fis/tp5n
170 ^testing/talos/talos/tests/tp5n.zip
171 ^testing/talos/talos/tests/tp5n.tar.gz
172 ^testing/talos/talos/tests/tp5n
173 ^testing/talos/talos/tests/devtools/damp.manifest.develop
174 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
175 ^testing/talos/talos/webextensions/
178 ^testing/talos/talos/mitmproxy/mitmdump
179 ^testing/talos/talos/mitmproxy/mitmproxy
180 ^testing/talos/talos/mitmproxy/mitmweb
182 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
183 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
184 # i.e. speedometer, motionmark, stylebench
185 ^testing/talos/talos/tests/webkit/PerformanceTests
187 # Ignore toolchains.json created by tooltool.
193 # Ignore files created when running a reftest.
196 # Ignore sync tps logs and reports
200 # Ignore Visual Studio/Visual Studio Code workspace files.
202 \.vscode/(?!extensions\.json|tasks\.json)
204 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
207 # Ignore various raptor performance framework files
208 ^testing/raptor/.raptor-venv
209 ^testing/raptor/raptor-venv
210 ^testing/raptor/raptor/tests/json/
211 ^testing/raptor/webext/raptor/auto_gen_test_config.js
213 # Ignore browsertime output directory
216 # Ignore the build directories of WebGPU and WebRender standalone builds.
221 # Ignore this files in certviewer
222 toolkit/components/certviewer/content/node_modules/
223 toolkit/components/certviewer/content/package-lock.json
225 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
226 ^taskcluster/docker/image_builder/build-image/target
228 # Ignore ICU4X experimentation data files.
229 # See intl/ICU4X.md for more details.
230 ^config/external/icu4x