I created a named branch in our repository for a feature - however, against my better judgement, I branched off of our head revision instead of an earlier one (where I branched off multiple feature branches).
I've made some commits to this branch - they are local only, not yet pushed - but I'd like to move the branch root to an earlier revision on my default branch. I don't want to make any changes to my commits (as there won't be any conflicts); I basically just want to change the parent revision that the branch came from, if that's possible.
How can I do this easily in Mercurial?
just want to change the parent revision that the branch came from
Just rebase: hg rebase -s MOVED_ROOT -d NEW_PARENT_OF_MOVED_ROOT --keepbranches