https://bz.mercurial-scm.org/show_bug.cgi?id=5381
Bug ID: 5381 Summary: Ability to move list of revisions from one branch to another Product: Mercurial Version: 3.9.1 Hardware: PC OS: Windows Status: UNCONFIRMED Severity: feature Priority: wish Component: convert Assignee: bugzi...@selenic.com Reporter: cow...@bbs.darktech.org CC: duri...@gmail.com, mercurial-de...@selenic.com When converting a Mercurial repository to Git (not my idea, don't shoot the messenger) I ran across this issue: https://github.com/frej/fast-export/issues/9 In my case, it turns out that a branch had two heads. One head was marked as "closed" while the other continued development. In order to please the Git gods, I wanted to rename all revisions on the "closed" head to a different name. --branchmap allows move all revisions on a particular branch to a different branch, but I need to only move a subset of the revisions. For example, given: @ | o __ | / o o |/ o I want to rename all revisions on the right (closed) branch without touching the left branch. http://stackoverflow.com/a/4673148/14731 provides a partial solution but "hg rebase" requires the creation of a dummy commit containing the new branch new on top of which we will rebase. My request is to end up with the exact same number of commits, containing the exact same metadata except for the branch name. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel