mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
c67e0b8843
If a state directory is available and we're running in interactive mode (or have been told otherwise), we now configure Mercurial during bootstrap. This consists of cloning version-control-tools to the state directory (mimicking code in `mach mercurial-setup` today) and running the config wizard from version-control-tools. Code for cloning/updating repositories has been stolen from tools/mercurial/hgsetup. As the inline TODO notes, I'd like to eventually support configuring Git during bootstrap. Since Mercurial is the canonical VCS for Firefox and since we already have a Mercurial setup wizard (and don't have a Git one yet), I don't think we should block on implementing Git support. MozReview-Commit-ID: 1FZyWIlHZNy --HG-- extra : rebase_source : c727017bbdc703399fa67e1d831280441026614b extra : histedit_source : fdb124447b4e80277cfd70fb65a24e0947c89c60 |
||
---|---|---|
.. | ||
bin | ||
mozboot | ||
README.rst | ||
setup.py |
mozboot - Bootstrap your system to build Mozilla projects ========================================================= This package contains code used for bootstrapping a system to build mozilla-central. This code is not part of the build system per se. Instead, it is related to everything up to invoking the actual build system. If you have a copy of the source tree, you run: python bin/bootstrap.py If you don't have a copy of the source tree, you can run: curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py | python - The bootstrap script will download everything it needs from hg.mozilla.org automatically!