how can I "force" a branch upon the trunk, in the case I can't "reintegrate"?
Posted
by davka
on Stack Overflow
See other posts from Stack Overflow
or by davka
Published on 2010-05-03T17:29:31Z
Indexed on
2010/05/03
17:48 UTC
Read the original article
Hit count: 198
We created a branch from the trunk on which a major refactoring was done. Meanwhile, the trunk advanced a few revisions with some fixes. We don't want these changes on the branch, so we don't want to "catch-up" merge the trunk to the branch, because we don't want to mix the old and new code. But without this I can't reintegrate the branch back to the trunk.
Is there a way to impose the branch on the trunk "as-is"?
(an idea I considered is to undo ("reverse-merge") the trunk back to the revision where the branch started, and then it is safe to merge it on branch - nothing should happen. Then I can reintegrate. What do you think?)
thanks!
© Stack Overflow or respective owner