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

Re: Pluggeable diff...

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2004-07-26 19:59:38 CEST

On Jul 26, 2004, at 10:32 AM, C. Michael Pilato wrote:

> Paul Libbrecht <paul@activemath.org> writes:
>
>> We recently played with the cmd-diff and cmd-diff3 settings in the
>> hope of getting "pluggeable diffs" as we wished... and... well.. it
>> works but it is not at all what we understood as pluggeable diffs.
>>
>> Namely, we had expected such a setting to be the diff used to compute,
>> at commit time, the difference to be stored in the database (more or
>> less equivalent to what's stored as fragements of the ",v" files of
>> CVS), and, at update time, the merge algorithm to modify the files.
>
> Er, no, that's not at all what it is. Subversion uses a binary
> differencing algorithm, very *not* pluggable,

I think you meant to say: You can plug in any diff algorithm you want
into the source code, as long as it generates the internal svndiff
format in the end, which is very non-pluggable ;)

In fact, you *could* plug in your xmldiff, though it would likely be
pointless, since you'd have to take the results and turn it into
byte-oriented insert + copy instructions, which svndiff uses.

:)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 26 19:59:59 2004

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

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