svn help diff
, form 3: diff OLD-URL[@OLDREV] NEW-URL[@NEWREV]
You need to establish a connecting line in the latest revision before it forks with the latest version in the branch
Sample on a real branch from a real repo
Branch : http://mayorat.ursinecorner.ru:8088/svn/Hello/branches/Leichtbau-Deutsch/
>svn log -q -v --stop-on-copy http://mayorat.ursinecorner.ru:8088/svn/Hello/branches/Leichtbau-Deutsch/ ------------------------------------------------------------------------ r28 | lazybadger | 2011-02-22 09:24:04 +0600 (, 22 2011) Changed paths: M /branches/Leichtbau-Deutsch/Hello.de.txt ------------------------------------------------------------------------ r27 | lazybadger | 2011-02-22 09:21:41 +0600 (, 22 2011) Changed paths: A /branches/Leichtbau-Deutsch (from /trunk:26) ------------------------------------------------------------------------
"from / trunk: 26" gives the OLD URL [@OLDREV], the highest revision in the branch is NEW-URL [@NEWREV]
svn diff http://mayorat.ursinecorner.ru:8088/svn/Hello/ trunk@26 http://mayorat.ursinecorner.ru:8088/svn/Hello/branches/ Leichtbau-Deutsch@28
need result
Lazy badger
source share