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

Re: [PATCH]svn_wc__find_wc_root

From: Philip Martin <philip_at_codematters.co.uk>
Date: Thu, 25 Jun 2009 17:07:01 +0100

Stefan Sperling <stsp_at_elego.de> writes:

> On Thu, Jun 25, 2009 at 04:13:12PM +0100, Philip Martin wrote:
>>
>> I haven't really been following the discussion about why you are
>> writing this particular function, but the experience from the pre-1.0
>> days is that interfaces based around paths don't work very well. The
>> problem is that one needs to read the WC metadata before the paths can
>> be manipulated and that data then gets thrown away, this makes the
>> function expensive and slow.
>
> We've been asking WC-NG folks about how to do this in the
> new world. They don't know yet. So for now, we're going for a
> wc-1 style approach (paths and adm_access), and it will be changed
> later.

I don't know what you plan to do with the root path when you get it,
are you going to open it? If so I would suggest that rather than
create a path based interface you write some sort of open_with_root
interface that returns an access baton set (open_anchor is an example
of a path based interface being combined with an adm_open).

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2365372
Received on 2009-06-25 18:07:21 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.