Skip to content

Instantly share code, notes, and snippets.

@gasolin
Created August 15, 2014 07:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gasolin/69493a10b0a084ba3b71 to your computer and use it in GitHub Desktop.
Save gasolin/69493a10b0a084ba3b71 to your computer and use it in GitHub Desktop.
How to push to try server
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