prakashkut
prakashkut

Reputation: 540

Format SVN diff as a side-by-side comparison

I wanted to produce a side by side SVN diff instead of the usual SVN diff output. Is there any way to get this sort of output ?

Upvotes: 18

Views: 10302

Answers (3)

Terry
Terry

Reputation: 47

svn diff --diff-cmd 'diff' -x '--side-by-side -W230' FILENAME

Tune the "-W230" to whatever takes full use of your screen width

Upvotes: 5

ymattw
ymattw

Reputation: 1179

cdiff can display side by side, incremental, and colorful diff, see its home page for detail and demo at https://github.com/ymattw/cdiff

Upvotes: 6

PtPazuzu
PtPazuzu

Reputation: 2537

You can specify a custom diff command:

svn --diff-cmd "diff" --extensions "-y" diff

(Or then perhaps even use tools like sdiff)

Upvotes: 26

Related Questions