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

Re: find repository path in working copy?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-12-06 04:49:47 CET

On Dec 5, 2004, at 2:08 PM, Martin Hauner wrote:
> But how do I map from
> svn://machine/repos/branches/branch1/folder2/folder3
> to localpath/trunk/folder2/folder3 ?
> How can i do this?

The client stores no record of how to "split" the URL between "path to
repository" and "path within the repository". But your program can
call RA->get_repos_root() on the URL to figure out which part is the
"path to repository".

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 6 04:50:53 2004

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.