Confirmed users
396
edits
(Cover the non-merge update case.) |
(Bootstrap documentation) |
||
| Line 5: | Line 5: | ||
* http://mozilla-version-control-tools.readthedocs.org/en/latest/hgmozilla/unifiedrepo.html | * http://mozilla-version-control-tools.readthedocs.org/en/latest/hgmozilla/unifiedrepo.html | ||
* https://mozilla-version-control-tools.readthedocs.org/en/latest/hgmozilla/firefoxtree.html | * https://mozilla-version-control-tools.readthedocs.org/en/latest/hgmozilla/firefoxtree.html | ||
Here's how I set it up: | |||
* Install Mercurial 3.2 or higher | |||
* Make a copy of your .hgrc file for safekeeping and delete the original | |||
* hg clone https://hg.mozilla.org/mozilla-central | |||
* hg clone https://hg.mozilla.org/hgcustom/version-control-tools | |||
* cd mozilla-central | |||
* ./mach mercurial-setup | |||
** Configure mercurial as desired (do not enable the mq extension) | |||
* Edit your global .hgrc file to add the following to the [extensions] section: | |||
** firefoxtree = /path/to/version-control-tools/hgext/firefoxtree | |||
* The following will pull all (or at least most) of the branches sheriffs need to have on hand: | |||
** hg pull inbound && hg pull b2ginbound && hg pull fx-team && hg pull aurora && hg pull beta && hg pull esr31 && hg pull b2g34 && hg pull b2g32 && hg pull b2g30 | |||
** If you need other branches, you can find their names in the [https://hg.mozilla.org/hgcustom/version-control-tools/file/default/pylib/mozautomation/mozautomation/repository.py firefoxtree extension source]. | |||
=== Merges === | === Merges === | ||