Advertisement
Guest User

Untitled

a guest
Sep 16th, 2013
31
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. hg clone -r (parent1 of bad merge) -r (parent2 of bad merge) old new
  2.  
  3. [extensions]
  4. hgext.mq=
  5.  
  6. $ hg qimport -r changesetN:tip
  7. # This will add all of your changes since the merge to the queue
  8. $ hg qpop -a
  9. # This pops them all out of your history.
  10. $ hg strip changesetM
  11. # This removes the merge changeset.
  12. $ hg update -C default
  13. # Make sure we're on the default branch
  14. $ hg qpush -a
  15. # Take the changesets in the queue and push them back onto your history.
  16. $ hg qfinish -a
  17. # Remove changesets from the queue and finalize them as normal changesets.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement