Sheriffing/How To/Unified Repos: Difference between revisions

Jump to navigation Jump to search
hg out
(Add backouts header)
(hg out)
Line 100: Line 100:
<big>WARNING:</big> This will strip out any commits that haven't been pushed to the remote repositories, regardless of what branch/label/tag those commits are on. (So if you have local changes on inbound and run this command to strip something bad on fx-team, both inbound and fx-team will be stripped.) Only do this if you don't care about any of those commits!
<big>WARNING:</big> This will strip out any commits that haven't been pushed to the remote repositories, regardless of what branch/label/tag those commits are on. (So if you have local changes on inbound and run this command to strip something bad on fx-team, both inbound and fx-team will be stripped.) Only do this if you don't care about any of those commits!
* hg strip 'not public()'
* hg strip 'not public()'
=== See what you're about to push ===
`hg out` will show you a LOT of unrelated commits. To see just what you'll be pushing to a given branch, use `hg out -r . <branch>`
* hg out -r . inbound
** This will only display the things you're about to push to the inbound branch
Confirmed users
396

edits

Navigation menu