Question

I want to resolve some conflicts of an SVN file using Meld. I'm using the Head version and my version to resolve the conflicts. I am unable to find how to do the merge operation and resolve the conflicts. When i'm right clicking on the line, i just see copy, paste, cut, create patch copy to right, copy to left options. Is there any way to do "Copy this line after mine" or "copy this line before mine" like that?? I used WinMerge when i was working on Windows. Now i moved to a Ubuntu machine and facing this situation for the first time. Please help me how to resolve the conflicts using Meld.

Thanks in advance

Was it helpful?

Solution

With Meld 1.4.0 or earlier, you need to hold down Ctrl and click on the arrows in the bar between the panes.

With Meld 1.5.0 or later, there are items in the main menu for "Copy above/below left/right" that do what you're looking for. You can also use keyboard shortcuts (Alt+ [, ], ;, and '), or use the middle bar as above.

OTHER TIPS

CTRL-click on the arrows

Is there any way to do "Copy this line after mine" or "copy this line before mine" like that?

There's no menu option to do exactly that but it is easily achievable.

Just select the line / lines from one window and copy (CTRL-C, CTRL-V) to the other window wherever it makes sense

You can also manually add new code to either window.

Meld is a great tool!

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top