merging selected revisions from one branch on another in Mercurial
Posted
by Assaf Lavie
on Stack Overflow
See other posts from Stack Overflow
or by Assaf Lavie
Published on 2010-04-02T16:43:32Z
Indexed on
2010/04/02
16:53 UTC
Read the original article
Hit count: 241
Is it possible to merge a range of revisions from one branch to another in Mercurial?
e.g.
|r1
|r2
|r3
|\___
| | r5
| | r6
| | r7
| | ...
| | r40
|r41
If I want to merge revisions 6 & 7, but not 5, into the main branch - is this possible?
What about multiple selected revision ranges from branch A to branch B? e.g. merge 4-7, 20-25 and 30-34?
(this isn't a real case, just an illustration. I'm trying to understand if hg has this revision-range merge feature that I know svn has)
© Stack Overflow or respective owner