On Thu, Jun 25, 2009 at 05:07:01PM +0100, Philip Martin wrote:
> 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).
I don't know if this is going to work in the context of
the problem we're trying to solve here.
See http://svn.collab.net/repos/svn/trunk/notes/commit-from-multiple-working-copies.txt
Stefan
Received on 2009-06-25 19:51:43 CEST