[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Pretty diff output for long lines

From: Michael Suess <mike_ml_at_suessnetz.de>
Date: 2004-11-24 16:55:22 CET

Hi,

having spent the last hour or so searching for "the right tool for the
job" (TM), I figured I might as well post this to the users list and maybe it
even helps someone.

The problem I was trying to solve is, that when diffing text files with (very)
long lines, the output of svn diff is hard to parse for me, because it prints
the whole line(s), making it difficult to spot the actual differences on
these lines.

I toyed around with wdiff and docdiff, but both were not really what I was
looking for. Finally I found ediff, but it is for emacs users only. To the
rescue came cdiff (http://www.srekcah.org/~utashiro/perl/scripts/cdif/), a
handy little perl script that highlights the actual changes in the diff
output. And it even works perfectly with the output of svn diff.

Hope it helps someone...

Regards,
Michael S

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 24 16:57:45 2004

This is an archived mail posted to the Subversion Users mailing list.