Diff doesn't appear to get the right source/target
rm -rf repo wc
svnadmin create repo
svn mkdir file://`pwd`/repo/trunk -m r1
svn co file://`pwd`/repo/trunk wc
echo foo >> wc/foo
svn add wc/foo
svn ci wc -m r2
echo mod >> wc/foo
svn ci wc -m r3
svn cp -r2 file://`pwd`/repo/trunk file://`pwd`/repo/branch -m r4
svn sw file://`pwd`/repo/branch wc
There is a trunk-to-branch diff (it can been seen by comparing URLs) but this
command doesn't show it
svn diff --old file://`pwd`/repo/trunk --new wc
A quick investigation with gdb showed that svn_repos_dir_delta is doing
a /trunk to /trunk diff rather than a /trunk to /branch diff. It's not
immediately clear how to fix it.