I have tried.
My working copy is based on but a modified version of
svn://foo.net/svn/repo/branch/yyy
I want to diff against branch xxx. I have tried
svn diff --old=svn://foo.net/svn/repo/branch/xxx --new=.
but that only seems like shorthand for
svn diff --old=svn://foo.net/svn/repo/branch/xxx --new=svn://foo.net/svn/repo/branch/yyy
Seems that subversion doesn’t allow to compare working copy with url. Both –old and –new need to be either WC or URL.
I think there’s a workaround though – you may checkout your
xxxbranch and then compare 2 working copies.svn diff xxx_branch yyy_modified_wcEdit As Pavel noticed
svn diffin this form doesn’t compare xxx and yyy – it just shows local modifications of xxx and yyy.svn diff --old=xxx --new=yyyseems not allowed (at least in svn client 1.6.17). To compare xxx and yyydiffcommand is needed. Pavel, 10x for the notice