svn-foreign: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/svn-foreign - from package: xxdiff-scripts

You may install the required package with command apt-get install {package}
Error in other languages:
svn-foreign: bevel nie gevind nie
svn-foreign: comandă negăsită
svn-foreign: comando não encontrado
svn-foreign: commande introuvable
svn-foreign: command not found
svn-foreign: käsku ei ole
svn-foreign: không tìm thấy lệnh
svn-foreign: komanda nerasta
svn-foreign: Kommando nicht gefunden.
svn-foreign: kommandot finns inte
svn-foreign: komut yok
svn-foreign: nie znaleziono polecenia
svn-foreign: níor aimsíodh an t-ordú
svn-foreign: no se encontró la orden
svn-foreign: no s'ha trobat l'ordre
svn-foreign: opdracht niet gevonden
svn-foreign: parancs nem található
svn-foreign: perintah tidak ditemukan
svn-foreign: príkaz nenájdený
svn-foreign: příkaz nenalezen
svn-foreign: команда не найдена
svn-foreign: командата не е открита
svn-foreign: 命令找不到
svn-foreign: コマンドが見つかりません