Sheriffing/How To/Backouts: Difference between revisions

Jump to navigation Jump to search
Line 36: Line 36:


===== Example on how to backout multiple revisions =====
===== Example on how to backout multiple revisions =====
'''Note:''' The example below is for inbound, but the same steps should be followed for any repos
'''Note:''' The example below is for autoland, but the same steps should be followed for any repos
# close the tree
# close the tree
# <code>cd mozilla-unified </code>
# <code>cd mozilla-unified </code>
# <code>hg pull inbound </code>
# <code>hg pull autoland </code>
# <code>hg update inbound </code>
# <code>hg update autoland </code>
# identify the push we want to backout. E.g.: 478cffed4b5f, daea2bcda8cb, 9abaf5195566, 2f665a0a379f
# identify the push we want to backout. E.g.: 478cffed4b5f, daea2bcda8cb, 9abaf5195566, 2f665a0a379f
# <code>hg oops -esr  2f665a0a379f::478cffed4b5f </code>
# <code>hg oops -esr  2f665a0a379f::478cffed4b5f </code>
# open the text editor to add the description of the backout, e.g.: “Backed out X changesets (bug 1359017) for <insert reason here> CLOSED TREE”.  
# open the text editor to add the description of the backout, e.g.: “Backed out X changesets (bug 1359017) for <insert reason here> CLOSED TREE”.  
# <code>hg push -r . inbound </code>
# <code>hg push -r . autoland </code>


= Best Practices and Communication =
= Best Practices and Communication =
Confirmed users
79

edits

Navigation menu