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

Re: svn commit: r1214677 - in /subversion/trunk/subversion: libsvn_client/client.h libsvn_client/merge.c libsvn_client/ra.c libsvn_client/switch.c tests/libsvn_client/client-test.c

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Thu, 15 Dec 2011 09:31:02 -0500

On 12/15/2011 04:53 AM, julianfoad_at_apache.org wrote:
> Author: julianfoad
> Date: Thu Dec 15 09:53:59 2011
> New Revision: 1214677
>
> URL: http://svn.apache.org/viewvc?rev=1214677&view=rev
> Log:
> Teach svn_client__get_youngest_common_ancestor() to output the ancestor as a
> URL as well as a relpath, because some existing callers want that and it
> will also simplify writing a higher level version of this API which I intend
> to do next.

May I suggest that if you plan to publicize this functionality, you let the
server do this YCA calculation with a new RA function, only falling back to
the client-side calculation when communicating with older servers?

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on 2011-12-15 15:31:43 CET

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