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

Re: [PATCH] V2, diff preview without text deltas

From: Branko Čibej <brane_at_xbc.nu>
Date: 2005-08-16 02:47:28 CEST

Peter N. Lundblad wrote:

>On Sun, 14 Aug 2005, [UTF-8] Branko �^Libej wrote:
>
>
>> The same thing "svn diff" does: compare the files. Yes, I know that
>>
>>means you have to actually download them.
>>
>>The only other option would be to teach the server to compare files on
>>the server side. Ouch. Not before 2.0.
>>
>h, we might have to congratulate our selves; Subversion 2.0 seem to
>already be released:-) See delta_files in libsvn_repos/reporter.c. If
>ignore_ancestry is true, it will actually compare the file contents before
>sending a text delta.
>
Heh, Serves me right for not checking the code.

> And what does 2.0 have to do with this discussion?
>We're not talking about moving the line-based diff to the server, as I
>understand it.
>
>
No. And if I'd thought about it a bit, it would be obvious that if the
server is to compute deltas, it must compare file contents (at least in
principle).

But won't the client have to actually download the delta in order to
figure out if the file has actually been changed?

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 16 02:48:21 2005

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.