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

Re: [PATCH] new feature: takeover

From: Jonathan Gilbert <o2w9gs702_at_sneakemail.com>
Date: 2005-07-08 10:50:04 CEST

At 07:50 AM 08/07/2005 +0200, AndrEPönitz wrote:
>Jonathan Gilbert wrote:
>> It proceeds roughly like this: [...]
>> Though this would have been less
>> efficient, involving many synchronous RA calls in sequence, it would still
>> prevent the bulk of the data transfer, but it turns out it isn't actually
>> possible to get the file's checksum without having the server send the
>> file's content (or, more precisely, the last diff to the file before the
>> revision you want).
>
>Out of interest of an uninitiated:
>
>Isn't this pretty much the same what rsync does?
>And what it does very efficiently?

In the case of a file being taken over, yes, this would be the most
efficient way of bring the text-base into sync. Of course, detranslation
(newlines & keywords) would need to be taken into account, and it would be
a rather large block of functionality to import into the SVN codebase. It
would need to be added to both svnserve (through libsvn_repos) and
mod_dav_svn in order to become a new function of the libsvn_ra interface...

Sussman, do you think this would be the way to go rather than simply
checking checksums? It would be a much longer road to follow, but the end
result feels cleaner to me :-)

Jonathan Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 8 10:49:13 2005

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