Confirmed users
24
edits
(→Requesting review: - webrender) |
(Removed deprecated info about making a patch with mq and added info about moz-phab patches.) |
||
Line 157: | Line 157: | ||
== Making a patch == | == Making a patch == | ||
To actually disable a test, we need to update the manifest file in mozilla-central. Before doing that, create a | To actually disable a test, we need to update the manifest file in mozilla-central. Before doing that, create a patch using [https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html?highlight=moz-phab#mozilla-phabricator-user-guide moz-phab] containing the change and upload the patch to bugzilla for review. | ||
For info about [https://github.com/mozilla-conduit/review/blob/master/README.md#installation installing] and [https://github.com/mozilla-conduit/review/blob/master/README.md#configuration configuring] moz-phab and implicitly arcanist see this [https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html#setting-up-arcanist page] | |||
hg | |||
hg | After moz-phab setup you need to follow these steps to upload your patch to Phabricator: | ||
nano/gedit file_path //edit the file you want to disable | |||
hg commit //add commit message | |||
hg | <inside editor add comment |Bug 1234567 - disable <test> for frequent failures. r=gbrown/jmaher| and save> | ||
hg | hg diff -c . //see the changes you made to the files and self review | ||
moz-phab //will submit the changes in phabricator | |||
If you want to update an existing phabricator patch, you need to be the owner of the revision or to [https://moz-conduit.readthedocs.io/en/latest/phabricator-user.html?highlight=commandeer#other-revision-actions commandeer] it. Then do the following steps: | |||
moz-phab patch patch_id --apply-to . //applies the patch locally to the active repo | |||
nano/gedit file_path //edit the file you need to change | |||
hg commit --amend //update or change the commit | |||
hg diff -c . //see the changes you made to the files and self review | |||
moz-phab //upload the changes to phabricator | |||
NOTE: the self review is a great time to make sure: | NOTE: the self review is a great time to make sure: |