svn diff [-r
path...] svn diff -r
M URLsvn diff [-r
Display the differences between two paths. The three different ways you can use svn diff are:
Display the differences between old-tgt and new-tgt. If paths are given, they are treated as relative to old-tgt and new-tgt, and the output is restricted to differences in only those paths. old-tgt and new-tgt may be working copy paths or URL[@rev]. old-tgt defaults to the current working directory, and new-tgt defaults to old-tgt. N defaults to BASE or, if old-tgt is a URL, to HEAD. M defaults to the current working version or, if new-tgt is a URL, to HEAD. svn diff -r N sets the revision of old-tgt to N, whereas svn diff -r N:M also sets the revision of new-tgt to M.
A shorthand for svn diff -r N:M --old=URL --new=URL.
A shorthand for svn diff [-r N[:M]] --old=URL1 --new=URL2.
If target is a URL, then revisions N and M can be given either via the --revision option or by using @ notation as described earlier.
If target is a working copy path, then the --revision option means:
The server compares target@N and target@M.
The client compares target@N against the working copy.
The client compares the base and working copies of target.
If the alternate syntax is used, the server compares URL1 and URL2 at ...