[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-06 22:35:17 CEST

At 07:55 PM 06/07/2005 +0100, Philip Martin wrote:
>Can you put in the edit baton in unpdate_editor.c?

Of course, you're right. I was scanning the code too quickly, and I guess
the only explanation as for why I didn't realize it was there is because
the parameter to add_file -- in order to fit into the generic vtable -- is
a 'void *'. I didn't look closely enough at what it was doing with the
parameter. My fault :-) This greatly simplifies the patch, since all the RA
providers now no longer need to know about the takeover condition.

I'm also thinking about ways to efficiently check the checksums of existing
files against the repository. Is there a way to, as a single command,
request from the server the checksum of all files at a given URL,
recursively? I see that the svn_ra_get_file function can be called with
stream == NULL in order to retrieve just the file's properties (which
includes, afaik, the checksum), but it would be highly inefficient to
synchronously recurse against the server using calls to that function and
to svn_ra_get_dir...

Jonathan Gilbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 6 22:34:18 2005

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