2010-05-27 79 views
2

我做了一個混帳合併,並結束了一個文件一樣,看起來像這樣:解決衝突的可視化工具合併成一個單一的文件

class member extends item{ 
    /********CONSTANTS**********/ 
    const is_flaggable = true; 
    const is_commentable = false; 
    const is_ratable = false; 
    const table = 'member'; 
<<<<<<< HEAD 
    const table_about = 'mem_about' ; 
    const table_to_about = 'mem_to_about' ; 
    const table_hobbies = 'mem_to_hobby'; 

======= 
    const table_friendship = 'friendship'; 
    const table_about = 'mem_about' ; 
    const table_to_about = 'mem_to_about' ; 
    const table_hobbies = 'mem_to_hobby'; 
    const table_friendship_id = 3; 
>>>>>>> my-copy 

在這個文件中有很多塊這樣的。是否有一個可視化工具來幫助我查看此文件並選擇我想要的更改?我發現的大多數diff工具都是用於查看兩個文件。

回答

2

在Windows上,您可以使用CVS Conflict Editor。在Linux上使用TKDiff-conflict <filename>開關。

+0

感謝您的領導 - 我在linux上運行。 – Yehosef 2010-05-27 14:59:16