[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: Branko ─îibej <brane_at_xbc.nu>
Date: 2005-11-16 03:09:27 CET

Garrett Rooney wrote:
> On 11/15/05, Jim Blandy <jimb@red-bean.com> wrote:
>
>> 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.
>>
>
> It's a combination of providing the right info and avoiding sending
> info that isn't required. Personally, it seems like the fact that we
> already have this kind of API underneath (we use it for svnadmin dump,
> for example) indicates that there is a use case for exposing this sort
> of API, as opposed to requiring people to do backflips to make the
> existing APIs bend to their needs.
>
The real question here is, why do we need a new API at all? Can't we
simply add copyfrom info to ra_update? And wouldn't doing that magically
make svn_repos_update and svn_repos_replay identical (for a certain
combination of parameters)? Making the API smaller is a good thing.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 16 03:09:54 2005

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