Sheriffing/How:To:Quick-Reference
From MozillaWiki
Contents
Sheriffs Quick Reference
Treeherder Shortcut Keys
r = retrigger (restart) n = next unstared failure u = show only unstared failures
Backout
Copy backout <revision> from treeherder, note the bug <number>, and remember the <reason>
hg backout -r <revision>
This should open up your editor with a completely empty commit message. Type in the backout message like "Backout revision <revision> (bug <number>) for <reason>" (possibly with "CLOSED TREE" in there to get around a closure hook).
Checkin (like checkin-needed)
Update mozilla-inbound and prepare for the patches:
hg pull inbound hg up inbound hg bookmark m-i-checkins
Import the patches:
hg import https://link.to/correct/checkin-needed.patch Repeat ^ as needed for all mozilla-inbound checkin-needed patches
Verify your outgoing changes:
hg out -r . inbound
If you haven't lost a push race:
hg push -r . inbound
Delete your no longer needed bookmark:
hg bookmark -d m-i-checkins
Lost a Push Race (like someone pushed to the repo while you also prepare a backout/checkin
If you lost a push race:
hg pull inbound hg rebase -d mozilla-inbound hg push -r . mozilla-inbound