Confirmed users
905
edits
No edit summary |
|||
| Line 369: | Line 369: | ||
hg qgoto <patch_name> | hg qgoto <patch_name> | ||
= Adding a patch to the tryserver = | |||
* In order to add a patch to the tryserver you need to get Commit access level 1 | |||
* Follow the steps listed [http://www.mozilla.org/hacking/committer/ here] to get the access | |||
* All patches must contain a trychooser patch on top of it in order to limit the tests only to what it is needed. Build the statement for it using [http://trychooser.pub.build.mozilla.org/ this page] | |||
== Create the try patch over the existing patch queue == | |||
hg qnew -m "try: -b o -p android -u robocop-1,robocop-2 -t none" try | |||
== Push the changes to the tryserver == | |||
hg push -f -rtip ssh://<user>@hg.mozilla.org/try/ | |||
* This will push the changes and will give you a tblp link to your push | |||
* When the building process for the test build will start you will also receive an email with the push info | |||
== Unlock the patch queue == | |||
* From Mercurial 2.0 the queue will be locked if you pushed to try | |||
* You can unlock the queue in order to remove the patches or change them | |||
hg phase -f --draft qbase:tip | |||
== Removing the try patch from the queue == | |||
* After you are done with the push you can delete the try patch so you can add it to other patches for push | |||
hg qremove try | |||