I did a bzr merge, and I always forget what the merge source represents, and what the tree represents.
Which one is my code, and which one comes from the branch I merged with?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityTREE
is the current branch you are on. MERGE-SOURCE
is the branch you merged from into the current branch.
Let's say you're on trunk
, and you merge from some other branch feature-123
and you get a conflict. If you look at the diff, you might see lines like these:
<<<<<<< TREE
changes you did
in your
current branch
=======
changes others did
in the
other branch
you're merging from
>>>>>>> MERGE-SOURCE
The lines between TREE
and ======
are lines that were added in the current branch, trunk
.
The lines between =======
and MERGE-SOURCE
are lines that were added in the other branch, feature-123
.