开发者

How to merge using Meld on Linux

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 开发者_StackOverflow社区the first time. Please help me how to resolve the conflicts using Meld.

Thanks in advance


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.


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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜