I have a branch that looks like this:
A->B->C->D->...->Z
^
1->2-^
where C
is a merge from 2
an
Use backout tool, but be aware of what you are doing:
Backout
option) aren't some changes from other
branches that you don't want to back out. If so, uncheck them before
commit. 1-2
(or "numbered branch") into branch A-Z
now (or later), you will lose all changes from "numbered branch" before changeset 2
(including) - that's what warning in @Marvin's answer is about.A-Z
is not direct ancesstor of "numbered branch", then find first descendant branch between A-Z
and 1-2
and update workbench to its tip.A-Z
(= backout) -> click Merge with local
A-Z
and 1-2
, repeat steps 4. and 5.1-2
yet.1-2
(for example changes from revisions D
- Z
).
Tip: To be really sure what files were affected by any merge, right click on that revision and click Diff to parent
This is basically scenario that we used today, when we find out that one branch (which was still in development) was accidentally merged into default (instead of another one, which had the same color in revisions graph :). (Both branches had pushed changes after this merge.) It might seems time-consuming, but still better than backout merge only and find numerous unexpected errors days (or weeks) later. (Own experience.)