Created
August 15, 2014 07:08
-
-
Save gasolin/69493a10b0a084ba3b71 to your computer and use it in GitHub Desktop.
How to push to try server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Prepare | |
edit ~/.hgrc like this: | |
[ui] | |
username=Name <your@email> | |
[extensions] | |
hgext.mq = | |
[diff] | |
git = 1 | |
showfunc = 1 | |
unified = 8 | |
[paths] | |
try = ssh://hg.mozilla.org/try | |
edit ~/.ssh/config like this: | |
Host hg.mozilla.org | |
User your@email | |
IdentityFile ~/.ssh/id_rsa | |
link ssh with url (once you got lv1): | |
ssh -l your@granted.email hg.mozilla.org | |
Clone mozilla-central: | |
$ hg clone http://hg.mozilla.org/mozilla-central/ | |
[edit] Regular | |
edit b2g/config/gaia.json like this: | |
{ | |
"git": { | |
"remote": "https://github.com/mozilla-b2g/gaia.git", | |
"branch": "bubble-tea" | |
}, | |
"revision": "c195232a409ee2234eca18a63bac2d48c2db0c13", | |
"repo_path": "/integration/gaia-central" | |
} | |
$ hg qqueue -c | |
$ hg qqueue --active | |
$ hg qnew try.patch | |
// repeat here | |
$ hg qref -m "try: -b o -p emulator,emulator-jb,linux_gecko,linux64_gecko,macosx64_gecko,win32_gecko -u gaia-unit,gaia-ui-test -t none" | |
$ hg push -f try |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment