So I keep making a silly mistake in Mercurial. Often times, I\'ll start work without doing an \"hg pull\" and an \"hg update.\" When I try to push my changes, I get an err
If you are using Hg Tortoise just activate the extension "strip" in:
- File/Settings/Extensions/
- Select strip
Then select the bottom revision from where you want to start striping, by doing right click on it, and selecting:
- Modify history
- Strip
Just like this:

In this example it will erase from the 19th revision to the last one commited(22).