Reputation: 3440
I have made a mess out of my local repo copy, but I don't really want to set the whole thing back up again. I just need to dump everything in hg out. All that is pushed up already is fine. Just not my local committed changes (some misguided backouts and merges).
Thoughts? Ideas?
Upvotes: 1
Views: 53
Reputation: 3440
I found the solution here: https://superuser.com/questions/89064/how-do-i-remove-outgoing-changesets-in-mercurial-hg
Basically I just had to run: hg strip 'roots(outgoing())'
And the problem was solved.
Upvotes: 2