0

I am trying to port a revision commited in a branch A to a branch B.

Here is the history of the branch A (r10629 is the revision I want to port to branch B):

History of the branch A

Usually, I merge the branches with the CollabNet Merge client in Eclipse (right click on the branch B project > Team > Merge...) by selecting the revisions I want to integrate.

Step 1 Step 2 Step 3

As you can see in the last screenshot, the revision 10629 is not displayed, unlike the others. What is wrong?

Morgan Courbet
  • 772
  • 1
  • 8
  • 18
  • 1
    Check mergeinfo in target branch: it may already have 10629 as merged – Lazy Badger Jan 17 '14 at 10:37
  • @LazyBadger You are right. The `svn:mergeinfo` property contains the revision 10629. This revision had already been merged by another developper. Thank you! Perhaps you want to answer the question to earn the rep ;-) – Morgan Courbet Jan 17 '14 at 16:08

1 Answers1

1

Subversion has an API that is called here to determine what revisions are eligible to be merged. From the command line, it would be something like:

$ svn mergeinfo --show-revs=eligible ^/branches/branchname .

The equivalent API for this command is used by the merge client to populate this display. So yes the answer in the comments by @LazyBadger covers it. The fact that you did not see the revision is a sign that it had already been merged (or the revision touched a different branch then you thought).

Mark Phippard
  • 10,329
  • 2
  • 32
  • 42