I just merged branch A into B, and for some reason the merge did not work. I want to bring B back to where it was before the merger, and try again like never before. I thought just doing
hg clone myrepo newrepo -r A -r 12345
where 12345 is the revision number before B fails to merge
I think this works, but I have many other branches (most of which are closed with commit -close-branch) and this returns these branches to an inactive state.
Is there a way to clone everything except version 123456 or something else? (where 123456 is a bad fix on B)
source
share