Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Convert raw diff file to colorized html output

Tags:

diff

svn

Does anyone know of a script that can accept a raw diff file and pretty print HTML output (which would be easier to review/mail)? A google search returned me some results like http://kafka.fr.free.fr/diff2html/

However all of these scripts require two files as input (they don't even accept two directories). My diff output is the diff between two svn branches

like image 457
qwerty Avatar asked Sep 30 '10 04:09

qwerty


1 Answers

I finally used diff2html.py to create static html output of a side-by-side diff, given my unified diff intput

like image 89
qwerty Avatar answered Sep 18 '22 00:09

qwerty