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

Re: [PATCH] expose svn_repos_replay via the RA API, Take 2

From: Jim Blandy <jimb_at_red-bean.com>
Date: 2005-11-16 02:22:08 CET

If I'm understanding the big picture here, the essential problem is
that none of the existing svn_ra.h functions give you a complete
description of a revision's effects on the tree. If I've got
something confused, please let me know.

- svn_ra_get_commit_editor2 carries everything --- prop changes, text
changes, rename/copy history --- but it's going in the wrong
direction: to the server. We want data coming from the server.
- svn_ra_do_update is going in the right direction, server->client,
but doesn't carry copy information, because the WC doesn't care and it
costs something to recover that information.
- svn_ra_do_diff2 goes in the right direction, but if I'm reading
right, it doesn't provide history.

So your new replay method is a fourth function that sends deltas from
client to repository, but that actually gives full information.

I guess I'm surprised that we need three ways of doing essentially the
same thing: comparing revisions in the repository and transmitting
their differences.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 16 02:22:42 2005

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