As far as I know you can only diff two working copies or two URLs (if one of the arguments is an URL then both will handled as such).
Arpad Ilia
On Thu, 05 Aug 2010, Arpad Ilia wrote:
> > Is it possible to diff a working copy against code in another branch (trunk
> > in this case)? Or is it expected to checkout trunk and use a diff utility
> > every time?
>
> As far as I know you can only diff two working copies or two URLs (if
> one of the arguments is an URL then both will handled as such).
If you use svn diff with the "--old" and "--new" options, then you can
make one of them point to the URL for a different branch, and the other
point to a working copy.
svn diff --old=svn://server/repo/branch/subdir --new=./subdir
--apb (Alan Barrett)