Does standard/normal diff format exist in svn or only unified format?
+3
A:
svn help diff
reveals this:
--diff-cmd arg : use ARG as diff command
Therefore you should be able to use svn diff --diff-cmd diff
to use the standard diff
.
Georg
2009-01-18 08:25:28
svn adds -u argument by default, (at least in version 1.5.1). So, you need to specify some diff arguments via -x to override unified format. E.g. "svn diff --diff-cmd diff -x -b" works for me
Linulin
2009-07-28 13:32:54
+2
A:
svn diff --diff-cmd diff -x --normal
This has no side effects, unlike -b which causes changes in whitespace to be ignored.
Nathan
2009-11-22 19:56:36