Sheriffing/How To/Backouts

< Sheriffing
Revision as of 09:03, 11 October 2013 by Tomcat (talk | contribs) (Created page with "Backouts Sheriffs also have to do Backouts of checkins from the various Mozilla Trees to fix bustages, test failures etc. This document should help doing these backouts = Re...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Backouts

Sheriffs also have to do Backouts of checkins from the various Mozilla Trees to fix bustages, test failures etc. This document should help doing these backouts

Requirements:

Make sure you have mq also activated in your hgrc too, otherwise you get an error message

Example backout:

backout of changeset abc1234

hg qbackout -r abc1234 -e

with -r you define the revision/checkin you want to backout with -e you can change the commit message, useful for closed trees etc

hg qfinish -a

finishes this transaction and you can proceed with hg push etc

when the commit message was wrong like forgot closed tree etc

hg qimport -r tip && hg qrefresh -e && hg qfinish -a && hg push