Files
tubestation/python/mozboot
Alex Hochheiden 7982953517 Bug 1964189 - Add support for jj in ./mach vcs-setup r=sfink
- The old behavior is maintained. If no `--vcs` flag is passed in, it will auto-detect what repo to configure.
- If `--vcs=jj` is passed, both `git and `jj` configure checks run.

The `jj` configure does the following:
- Checks if `jj` is on `PATH`
- Checks for the expected `git` config
- Checks for the minimum required `jj` version
- Sets up a git colocated `jj` repo if no `.jj` dir is present
- Copies `user.name` and `user.email` config values from `git` config, if set.
- Sets repo config values that enable `jj fix` (if they are not already set with custom values)
- Enables watchman, if installed.
- Checks if watchman is enabled/working.

Differential Revision: https://phabricator.services.mozilla.com/D247677
2025-05-14 18:36:27 +00:00
..

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 -L https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py -o bootstrap.py
    python bootstrap.py

The bootstrap script will download everything it needs from hg.mozilla.org
automatically!