gecko-dev/build
Gregory Szorc c024875c88 Bug 1392886 - Ignore missing mach_commands.py when checkout is sparse; r=mshal
Sparse checkouts may not have all mach_commands.py files.

mach raises an error when a mach_commands.py file is missing.

So, we teach the mach driver to ignore missing file errors when
a sparse checkout is present.

The added code is optimized to avoid an import of mozversioncontrol
and some I/O as part of resolving the repo and VCS binaries because
this file is in the critical path of all mach commands and avoiding
I/O is worthwhile. Since we aren't using sparse checkouts in the
common case, this effectively makes the new code 0 cost.

MozReview-Commit-ID: C6itJga31t5

--HG--
extra : rebase_source : 4b2c18d30ff8b923a940c80ac81372a4076b8fdc
2017-08-23 08:41:01 -07:00
..
annotationProcessors Bug 1352177 - 2. Introduce new config file format for SDK bindings; r=snorp 2017-05-03 11:36:18 -04:00
autoconf Backed out changeset 514cf1f55c6f (bug 1380639) 2017-08-07 13:23:35 +02:00
build-clang Bug 1385743 - Use copy_tree() to copy directory recursively instead. r=Ehsan 2017-08-17 10:36:15 +08:00
clang-plugin Bug 1390064 - Fix IgnoreTrivials in Utils.h by changing cast to cast_or_null r=mystor 2017-08-14 11:40:36 +02:00
compare-mozconfig
docs bug 1370506, update the docs, r=glandium 2017-06-16 13:14:28 +02:00
macosx Bug 1382525 - Move LLVM_CONFIG out of mozconfig.common. r=chmanchester 2017-07-20 14:06:23 +09:00
mobile Bug 1373256 - Changes to support -fsanitize=integer in the codebase. r=froydnj 2017-04-09 12:59:26 +02:00
moz.configure Bug 1392886 - Determine if sparse checkout is being used; r=mshal 2017-08-22 20:26:46 -07:00
package/mac_osx
pgo Bug 1346405 - Update build/pgo/certs/README so instructions are current and applicable cross-platform r=ted 2017-03-10 14:06:49 -08:00
pymake
release
sanitizers Bug 1363976 - Suppress global_style_data for LSAN. r=bholley 2017-08-07 19:55:51 -05:00
unix Bug 1390752 - Avoid std::basic_ios<char, std::char_traits<char>>::operator bool() references. r=froydnj 2017-08-16 15:03:43 +09:00
util Bug 1338210 - Set threshold for num_static_constructor alerts to 3 r=jmaher 2017-03-10 13:53:08 -05:00
valgrind Bug 1382280 part 1: Upgrade valgrind r=ted 2017-08-10 13:42:11 -03:00
win32 bug 1318143 - add support for detecting Visual Studio 2017 to configure. r=gps 2017-04-26 15:18:48 -04:00
win64 Bug 1361256 part 2 - Avoid mozconfig failures when clang-cl has't been downloaded yet. r=glandium 2017-05-15 11:38:41 +08:00
.gdbinit_python.in Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
.lldbinit.in
Makefile.in
__init__.py
appini_header.py
application.ini.in
automation-build.mk
automation.py.in Bug 1359288 - Enable Android reftest to resume from crashes. r=jmaher 2017-05-10 10:38:48 +08:00
binary-location.mk
buildconfig.py
cargo-linker Bug 1329737 - part 3 - use an alternate linker for Cargo invocations; r=rillian 2017-04-28 14:06:41 -04:00
checksums.py
defines.sh
dumbmake-dependencies Bug 1363533 - Move nsIJSInspector from devtools/server/ to devtools/platform/. r=gps,jryans 2017-05-15 18:53:19 +02:00
gecko_templates.mozbuild Bug 1370695 - Remove build system code handling binary components. r=glandium 2017-06-13 16:01:45 -07:00
gen_test_backend.py
gen_test_packages_manifest.py Bug 1272113: Packaging awsy in build job r=jmaher 2017-03-11 02:33:19 +08:00
genrc.sh
gyp.mozbuild Bug 1389598 - Part 2: Remove gonk references from media/ r=jesup 2017-08-11 17:46:15 -07:00
gyp_base.mozbuild Bug 1357323 - Remove support for gonk in the build system. r=gps 2017-04-18 16:56:09 +09:00
mach_bootstrap.py Bug 1392886 - Ignore missing mach_commands.py when checkout is sparse; r=mshal 2017-08-23 08:41:01 -07:00
moz-automation.mk Backed out 4 changesets (bug 1259832) for apparently scheduling nightlies on every push/platform a=backout 2017-08-16 17:26:08 -07:00
moz.build Bug 1333003 part 4 - Package the binary of llvm-symbolizer also on Windows. r=ted 2017-03-10 12:24:02 +08:00
mozconfig.artifact Bug 1373150 - Disable compile environment on l10n builds. r=Callek 2017-06-15 15:06:45 +09:00
mozconfig.artifact.automation Backed out 4 changesets (bug 1259832) for apparently scheduling nightlies on every push/platform a=backout 2017-08-16 17:26:08 -07:00
mozconfig.automation Backed out 4 changesets (bug 1259832) for apparently scheduling nightlies on every push/platform a=backout 2017-08-16 17:26:08 -07:00
mozconfig.cache Bug 1382502 - Enable sccache on PGO builds. r=ted 2017-07-20 11:31:14 +09:00
mozconfig.clang-cl
mozconfig.common Bug 1382502 - Include mozconfig.cache in most cases. r=ted 2017-07-20 11:07:53 +09:00
mozconfig.common.override
mozconfig.no-compile Bug 1384786 - Fix try artifact builds after bug 1382502. r=gps 2017-07-27 14:02:39 +09:00
mozconfig.rust Bug 1261841 part 5 - Enable explicit SIMD in Rust in automation infra. r=froydnj. 2017-06-13 13:24:54 +03:00
mozconfig.stylo Bug 1384258 - Build Stylo by default. r=chmanchester 2017-07-25 14:29:52 -07:00
mozconfig.vs-common
mozconfig.win-common
prebuilt-interfaces.manifest
qemu-wrap
rebuild-backend.mk
sccache.mk Bug 1380964 - Get and upload useful sccache logs. r=gps 2017-07-14 09:46:38 +09:00
subconfigure.py Bug 1369292 - Avoid running config.status in js/src. r=mshal 2017-06-02 16:39:55 +09:00
submit_telemetry_data.py Bug 1346025 - Move vendored python modules from /python to /third_party/python, r=ted 2017-05-25 11:48:03 -04:00
telemetry-schema.json
templates.mozbuild Bug 1377970 - add -llog for Android in moz.build; r=chmanchester 2017-07-05 09:32:30 -04:00
test_templates.mozbuild
update-settings.ini
upload.py Bug 1147271 - Add ssh option to prevent hanging on password prompt in upload.py r=mshal 2017-05-11 09:40:58 -07:00
upload_generated_sources.py Backed out 4 changesets (bug 1259832) for apparently scheduling nightlies on every push/platform a=backout 2017-08-16 17:26:08 -07:00
variables.py
virtualenv_packages.txt Bug 1388340 - Vendor in six package for Python 2 and 3 compatibility; r=gps 2017-08-08 14:25:53 +01:00
windows_toolchain.py