Confirmed users
396
edits
m (Formatting fix) |
|||
| Line 181: | Line 181: | ||
<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()' | ||
You may also need to use some combination of the following to get things back to a known-good state: | |||
* hg purge # http://mercurial.selenic.com/wiki/PurgeExtension | |||
* hg up -C | |||
=== See what you're about to push === | === See what you're about to push === | ||