[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[wdiff-bugs] Re: swd - SVN word diff (wdiff)

From: Chris Pickett
Subject: [wdiff-bugs] Re: swd - SVN word diff (wdiff)
Date: Sun, 29 Nov 2009 15:32:15 -0500
User-agent: Thunderbird (Macintosh/20071210)

Not with wdiff as it stands, so I think that would definitely require changes to wdiff. I'm pretty happy with line level diffs for source code because you don't often reflow paragraphs of text, but then again I've never seen a token level diff. It's an interesting idea though...


Mike Samuel wrote:
Is it possible to specify a tokenization scheme, perhaps as a regex,
so that you can do a token level diff instead of a word level diff?

2009/11/29 Chris Pickett <address@hidden>:

A while ago I wrote some scripts to make Subversion better for working
with text documents.  They wrap wdiff to show deleted words in red and
inserted words in green, and to trim the default wdiff output down to
one line each of leading and trailing context.

They aren't perfect by any means, but they work 99% of the time for me.
 I thought I'd publish them because I find them really useful.


Cross-posting to wdiff-bugs and SVN dev.  It's primarily an enhancement
to wdiff, but I thought svn might have more resources.  An `svn wdiff'
feature that mimics this would certainly be neat!  Please at least CC me
in replies since I'm subscribed to neither.



Please start new threads on the <address@hidden> mailing list.
To subscribe to the new list, send an empty e-mail to <address@hidden>.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]