I have a small problem with svn diff. I really have to use this line:
svn diff -r X:Y path/to/file.ext
This works perfect for cases file.ext exists in both revisions.
The problem is when it does not – i get the message:
Unable to find repository location for file.ext in X revision
Instead of that I would like to get a diff string like they all the lines were added/deleted (something like i would get with mercurial diff)…
Is there any way to perform that in SVN? Thank you all in advance!
As long as I found out this was not possible so I parsed the error and did the diff programmatically.