<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.mozilla.org/index.php?action=history&amp;feed=atom&amp;title=Sheriffing%2FBackout-setup</id>
	<title>Sheriffing/Backout-setup - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.mozilla.org/index.php?action=history&amp;feed=atom&amp;title=Sheriffing%2FBackout-setup"/>
	<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=Sheriffing/Backout-setup&amp;action=history"/>
	<updated>2026-07-08T03:17:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://wiki.mozilla.org/index.php?title=Sheriffing/Backout-setup&amp;diff=1138803&amp;oldid=prev</id>
		<title>Tomcat: Created page with &quot;In order to do backout&#039;s and checkins some setup is needed  1.) make sure you have mercurial installed  2.) Clone Repos that we as sheriff maintain like mozilla-central, mozil...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.mozilla.org/index.php?title=Sheriffing/Backout-setup&amp;diff=1138803&amp;oldid=prev"/>
		<updated>2016-07-06T07:12:42Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;In order to do backout&amp;#039;s and checkins some setup is needed  1.) make sure you have mercurial installed  2.) Clone Repos that we as sheriff maintain like mozilla-central, mozil...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In order to do backout&amp;#039;s and checkins some setup is needed&lt;br /&gt;
&lt;br /&gt;
1.) make sure you have mercurial installed &lt;br /&gt;
2.) Clone Repos that we as sheriff maintain like mozilla-central, mozilla-inbound, fx-team and autoland &lt;br /&gt;
3.) customize your .hg/hgrc of that trees as example my one for mozilla-inbound looks :&lt;br /&gt;
 &lt;br /&gt;
 [paths]&lt;br /&gt;
 default = http://hg.mozilla.org/integration/mozilla-inbound&lt;br /&gt;
 default-push = ssh://hg.mozilla.org/integration/mozilla-inbound&lt;br /&gt;
 [ui]&lt;br /&gt;
 username = Carsten &amp;quot;Tomcat&amp;quot; Book &amp;lt;cbook@mozilla.com&amp;gt;&lt;br /&gt;
 merge = internal:merge&lt;br /&gt;
 [extensions]&lt;br /&gt;
 qbackout = /sheriffs/trees/version-control-tools/hgext/qbackout&lt;br /&gt;
 histedit =&lt;br /&gt;
 progress =&lt;br /&gt;
 rebase =&lt;br /&gt;
 mq =&lt;br /&gt;
 qimportbz = /sheriffs/trees/version-control-tools/hgext/qimportbz&lt;br /&gt;
 transplant =&lt;br /&gt;
 [alias]&lt;br /&gt;
 rbimport = !hg transplant -e -s https://reviewboard-hg.mozilla.org/gecko -b $1&lt;br /&gt;
&lt;br /&gt;
The whole backout is simple: &lt;br /&gt;
&lt;br /&gt;
As example a developer asks you to backout changeset ab1234 so the command for the backout would be &lt;br /&gt;
&lt;br /&gt;
 hg qbackout -r ab1234 &amp;amp;&amp;amp; hg qrefresh -e &lt;br /&gt;
&lt;br /&gt;
The hg qbackout -r &amp;lt;revision&amp;gt; should contain the revision you will backout. The hg qrefresh -e command allows you to edit the commit message for the backout, like why you backout something (example for bustage). &lt;br /&gt;
&lt;br /&gt;
Backout multiple changsets ? &lt;br /&gt;
&lt;br /&gt;
As example you need to backout a push that had multiple changesets/parts, the command would be &lt;br /&gt;
&lt;br /&gt;
 hg qbackout -r firstcset -r 2ndcset &amp;amp;&amp;amp; hg qrefresh -e&lt;/div&gt;</summary>
		<author><name>Tomcat</name></author>
	</entry>
</feed>