In Ubuntu, you only need a simple command.
$: Sudo apt-get install meld
The content is as follows:
#! /Bin/sh
# Configure your favorite diff program here.
# "/Usr/bin/bcompare
Diff = "meld"
# DIFF = "/usr/bin/meld"
# DIFF = "/usr/bin/kompare"
# DIFF = env LANG = zh_CN.UTF-8 WINEPREFIX = "/home/borqs/. wine" wine "C: \ Program Files \ Beyond Compare 2 \ BC2.exe"
# Subversion provides the paths we need as the sixth and seventh
# Parameters.
Left =$ {6}
Right =$ {7}
# Call the diff command (change the following line to make sense
# Your merge program ).
$ Diff $ left $ right
# Return an errorcode of 0 if no differences were detected, 1 if some were.
# Any other errorcode will be treated as fatal.
Return 0
$: Chmod 777 ~ /. Subversion/mydiff. sh
Edit "~ /. Subversion:
$ Gedit ~ /. Subversion/config
Change diff-cmd:
Diff-cmd =/home/kaigo/. Subversion/mydiff. Sh