I'm looking for the repository-relative paths. It seems like I get these in some cases, but not others.
For example, if I give it two URLs: svn diff https://repos/proj1/dir1/dir2https://repos/proj2/dir1/dir2 I get something like this, with the repository-relative paths in parentheses, prefixed by "...": Index: file1 =================================================================== --- file1 (.../proj1/dir1/dir2) (revision 103644) +++ file1 (.../proj2/dir1/dir2) (revision 103644) But if I give it two revisions and a single URL: svn diff -r100:200 https://repos/proj1/ I get something like this, with no repository-relative paths in parentheses: Index: dir1/dir2 =================================================================== --- dir1/dir2 (revision 103537) +++ dir1/dir2 (revision 103538) Jacob On Oct 24, 2011, at 2:11 PM, Philip Martin wrote: > Jacob Weber <ja...@jacobweber.com> writes: > >> I want to pass the output of "svn diff OLD-URL NEW-URL" to a >> code-review tool, but I need to include the full path of each file >> in the ---/+++ headers. >> >> The paths in the output always seem to be relative to the directories >> you pass in. Is there a way to make it include the full paths? > > The paths in the standard diff output are repository relative paths. If > you want the paths to local copies of the files use --diff-cmd to invoke > your own wrapper, the files paths are parameters 6 and 7. > > -- > Philip