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

Re: finding the root of a repository url

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-07-01 07:03:17 CEST

"SteveKing" <steveking@gmx.ch> writes:

> For my subversion client (TortoiseSVN) I need to find the root of a
> subversion repository url from a log.

We long ago decided that we wouldn't be able to keep the repo-root and
repo-path permanently joined in an opaque URL. Someday, we decided,
we would have to store the repo-root in the entries file as another
"live" prop ("entry prop"), just like the repos-UUID.

We just haven't gotten around to doing it... not sure if there's an
issue filed on this yet. But it means creating a new entry-prop, and
marshalling it to the client. It will be a change that we probably
have to roll out over a couple of releases.

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.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 1 07:04:51 2003

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.