Confirmed users
396
edits
ChrisCooper (talk | contribs) (→Merges) |
(Partial cleanup/update) |
||
Line 5: | Line 5: | ||
=== Setting up the repo === | === Setting up the repo === | ||
* Set up your ssh key yourself | * Set up your ssh key yourself | ||
* Install Mercurial | * Install [https://www.mercurial-scm.org/downloads Mercurial 4.2] or higher | ||
* Make a copy of your .hgrc file for safekeeping and delete the original | * 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 | ||
* cd mozilla-central | * cd mozilla-central | ||
* ./mach mercurial-setup | * ./mach mercurial-setup | ||
Configure mercurial as desired | |||
Configure mercurial as desired. At a minimum, you need the following: | |||
* Set your username and email. | |||
* Enable the firefoxtree extension. | |||
* Enable the histedit extension. | |||
The following will pull all (or at least most) of the branches sheriffs need to have on hand: | The following will pull all (or at least most) of the branches sheriffs need to have on hand: | ||
* hg pull inbound && hg pull | * hg pull inbound && hg pull autoland && hg pull beta && hg pull release && hg pull esr52 | ||
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]. | 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! <br /> | You should now have everything set up for proper use! <br /> | ||
If you want, you can rename the mozilla-central folder to something like "unified", since it is more than just mozilla-central at this point. | |||
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. | ||
To pull in newly landed changes, you can use one of the following commands: | |||
* hg pull fxtrees # this will pull from all branches listed with the fxheads command | * hg pull fxtrees # this will pull from all branches listed with the fxheads command | ||
* hg pull integration # this will pull from the mozilla-inbound | * hg pull integration # this will pull from the mozilla-inbound and autoland branches | ||
* hg pull releases # this will pull from pretty much every release branch (FYI: including old, unused branches) | * hg pull releases # this will pull from pretty much every release branch (FYI: including old, unused branches) | ||