Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jul 2011
    Posts
    11

    Default Finding minor changes to merge to radically different third file

    I would like to use the three-way merge to compare two slightly different versions (say A and B) in order to modify a third version (C) that is radically different from the other two. What is the best way to set up the three way merge to do this?

  2. #2
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,609

    Default

    Hello,

    Would you be looking for something like this?:
    http://www.scootersoftware.com/suppo...arallelupdates

    The center pane of the text merge is considered the common ancestor of the left and the right side. Does A or B fit this role partially? C would almost certainly be the left or right side.
    Aaron P Scooter Software

  3. #3
    Join Date
    Jul 2011
    Posts
    11

    Default

    Lets say that A is the oldest file and has been modified in small minor ways to create file B. Now I want to take those changes to another file (C) which is a descendant of, say, the A file, but quite a bit different. Different enough that it would be difficult to pick out the few changes from B I want to make, from amongst the other radical changes in C. I guess A would be the common ancestor of the B and C and could go in the middle. I tried that and it looks ok.

    But now how do I select a line in the left-most pane to go to the merge output (which I want to be similar to the C pane)? When I press the blue arrow next to the line in the left pane it goes to the wrong line in the merge output.

    Is there a way I can send you a screen shot?

  4. #4
    Join Date
    Jul 2011
    Posts
    11

    Default

    Also is there way to go to only the next difference between the left and middle pane (in other words if for a given line left and middle are the same but only C is different, then that difference is skipped)

  5. #5
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,609

    Default

    Hello,

    If you use the View menu -> Favor Right Changes, this will remove the coloring/difference marking of differences only on the right in the Output pane. If you place the cursor in the Output pane and use Next Difference, it will then not go to differences that are only on the right.

    How does this work for you?
    Aaron P Scooter Software

  6. #6
    Join Date
    Jul 2011
    Posts
    11

    Default

    In this case it does go to lines where a line has been added only on the right (this line shows as empty in both the left and middle panes but is not empty in the right pane).

  7. #7
    Join Date
    Oct 2007
    Location
    Madison, WI
    Posts
    11,609

    Default

    Hello,

    Could you post a fullscreen screenshot of this case? In my test setup, I do not see the right-only line as a difference once setup, and Next Difference does not highlight to it. Are you using the latest version of BC3 (3.3.5)? All 3.x updates are free for 3.x users.
    Aaron P Scooter Software

  8. #8
    Join Date
    Jul 2011
    Posts
    11

    Default

    Screen shot hopefully uploaded

  9. #9
    Join Date
    Jul 2011
    Posts
    11

    Default

    Uploaded screenshot as attachment. Sorry have no URL for "Insert Image", please instruct if attachment does not work.

  10. #10
    Join Date
    Jul 2011
    Posts
    11

    Default

    Attached is a second example - took special care to make sure cursor is in output window when clicking Next Difference.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •