Greg Hudson <ghudson@MIT.EDU> writes:
> Ben Collins-Sussman wrote:
> > Note -- I don't think we'll need to add a whole new RA->get_root()
> > API, just like we added RA->get_uuid(). The only reason
> > RA->get_uuid() exists is so that wc-less operations (like 'svn cp
> > URL URL') can decide if you're working against the same repository
> > or not. But I can't think of a reason a wc-less operation would need
> > to know the repos-root.
>
> How does the live prop get from the ra layer to the wc entries file if
> not through the RA interface?
The same way all the other 'live' props get into your entries files:
the server sends them to the client as 'svn:wc:entry:*' properties.
libsvn_wc filters for that prefix. Examples include {last changed
author, last changed rev, last changed date, repos uuid}.
Note that of that list, only the uuid property has its own
RA->get_uuid() function. I guess technically, it's not *really*
necessary. The function is implemented by querying the server for the
UUID property on the ra-session's URL. I suppose a function depending
on RA->get_uuid() could call RA->get_dir() instead to fetch props instead.
> Consider a wc-less GUI application which navigates a remote
> repository and uses get_log.
Hm, well, maybe that *is* a valid use case for RA->get_repos_root().
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 5 15:41:34 2003