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

Re: Problem with diff

From: Andreas Krey <a.krey_at_gmx.de>
Date: Tue, 18 Oct 2011 10:37:36 +0200

On Tue, 18 Oct 2011 10:22:33 +0000, Daniel Shahaf wrote:
...
> 371 != 450+3, so there are some duplicate lines.

Yes. I forgot to say "it's source code, so of course there are dups". :-)

...
> > Replacing each char by another one (individually, not caesar).
> > But stays, though no duplicate lines:
> >
>
> Huh? This transformation doesn't deduplicate, there were duplicate lines
> to begin with, so the result should also contain duplicates.

Er, it does. Each character is replaced by a random one, and the
next same character by another random one, so 'aaaa' becomes 'ehaf'
(or 'qrhs' or whatever, of course).

..
> > I really like to see *that* patch.
> >
>
> Which one? The one introducing the bug or fixing it?
>

The fix, where it is easier to see what went wrong (hopefully in the
commit message). Gotta be interesting. Didn't even think to bisect for
the regression up to now.

Is the diff engine separate from the delta computation?

Andreas

-- 
"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
Received on 2011-10-18 10:38:15 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.