Sheriffing/How To/Unified Repos: Difference between revisions

Jump to navigation Jump to search
m
Clean up setup instructions
(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
Set up your ssh key yourself
* Install Mercurial 3.2 or higher
Install Mercurial 3.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
* 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)
Configure mercurial as desired (do not enable the mq extension)<br />
* Edit your global .hgrc file to add the following to the [extensions] section:
Edit your global .hgrc file to add the following to the [extensions] section:
** firefoxtree = /path/to/version-control-tools/hgext/firefoxtree
*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:
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  
* 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].
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.


Confirmed users
396

edits

Navigation menu