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.
24 # User files that may appear at the root
34 # Empty marker file that's generated when we check out NSS
35 ^security/manager/\.nss\.checkout$
40 # gecko.log is generated by various test harnesses
43 # Ignore newtab component build assets
44 ^browser/components/newtab/logs/
46 # Build directories for js shell
52 # SpiderMonkey configury
54 ^js/src/old-configure$
55 ^js/src/autom4te.cache$
56 # SpiderMonkey test result logs
57 ^js/src/tests/results-.*\.(html|txt)$
58 ^js/src/devtools/rootAnalysis/t/out
59 # SpiderMonkey clone of the webassembly spec repository
62 # Java HTML5 parser classes
63 ^parser/html/java/(html|java)parser/
68 # Ignore the files and directory that Eclipse IDE creates
73 # Ignore the files and directory that JetBrains IDEs create.
76 # Android Monitor in Android Studio creates a captures/ directory.
81 ^tools/infer/test/.gradle/
83 # Local Gradle configuration properties.
86 # Python stuff installed at build time.
87 ^third_party/python/psutil/.*\.so
88 ^third_party/python/psutil/.*\.pyd
89 ^third_party/python/psutil/build/
90 ^third_party/python/psutil/tmp/
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/
106 # git checkout of libstagefright
107 ^media/libstagefright/android$
109 # Tag files generated by GNU Global
115 # Git clone directory for updating web-platform-tests
116 ^testing/web-platform/sync/
118 # Third party metadata for web-platform-tests
119 ^testing/web-platform/products/
121 # Android Gradle artifacts.
122 ^mobile/android/gradle/.gradle
124 # XCode project cruft
127 # Rust/Cargo output from running `cargo` directly
130 # Ignore mozharness execution files
131 ^testing/mozharness/.tox/
132 ^testing/mozharness/build/
133 ^testing/mozharness/logs/
134 ^testing/mozharness/.coverage
135 ^testing/mozharness/nosetests.xml
137 # Ignore tox generated dir
140 # Ignore ESLint and other tool's node_modules.
142 ^tools/browsertime/node_modules/
143 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
145 # Ignore talos virtualenv and tp5n files.
146 # The tp5n set is supposed to be decompressed at
147 # testing/talos/talos/tests/tp5n in order to run tests like tps
148 # locally. Similarly, running talos requires a Python package virtual
149 # environment. Both the virtual environment and tp5n files end up littering
150 # the status command, so we ignore them.
151 ^testing/talos/.Python
153 ^testing/talos/include/
155 ^testing/talos/talos/tests/tp5n.zip
156 ^testing/talos/talos/tests/tp5n.tar.gz
157 ^testing/talos/talos/tests/tp5n
158 ^testing/talos/talos/tests/devtools/damp.manifest.develop
159 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
160 ^testing/talos/talos/webextensions/
163 ^testing/talos/talos/mitmproxy/mitmdump
164 ^testing/talos/talos/mitmproxy/mitmproxy
165 ^testing/talos/talos/mitmproxy/mitmweb
167 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
168 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
169 # i.e. speedometer, motionmark, stylebench
170 ^testing/talos/talos/tests/webkit/PerformanceTests
172 # Ignore toolchains.json created by tooltool.
175 # Ignore files created when running a reftest.
181 # Ignore sync tps logs and reports
185 # Ignore Visual Studio Code workspace files.
186 \.vscode/(?!extensions\.json|tasks\.json)
188 # Ignore Infer output
191 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
194 # Ignore various raptor performance framework files
195 ^testing/raptor/.raptor-venv
196 ^testing/raptor/raptor-venv
197 ^testing/raptor/raptor/tests/json/
198 ^testing/raptor/webext/raptor/auto_gen_test_config.js
200 # Ignore browsertime output directory
203 # Ignore the build directories of WebRender standalone builds.
206 # Ignore this files in certviewer
207 toolkit/components/certviewer/content/node_modules/
208 toolkit/components/certviewer/content/package-lock.json