Confirmed users
396
edits
(Uplift instructions) |
m (Clean up setup instructions) |
||
Line 7: | Line 7: | ||
Here's how I set it up: | Here's how I set it up: | ||
Set up your ssh key yourself | |||
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/mozilla-central | ||
* hg clone https://hg.mozilla.org/hgcustom/version-control-tools | * hg clone https://hg.mozilla.org/hgcustom/version-control-tools | ||
* cd mozilla-central | * cd mozilla-central | ||
* ./mach mercurial-setup | * ./mach mercurial-setup | ||
Configure mercurial as desired (do not enable the mq extension)<br /> | |||
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]. | |||
You should now have everything set up for proper use! | You should now have everything set up for proper use! <br /> | ||
The `hg fxheads` command should list references to each of the relevant branch names, and the current revision and commit message for each. | The `hg fxheads` command should list references to each of the relevant branch names, and the current revision and commit message for each. | ||