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

Relative Externals - format debate

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-01-03 18:47:46 CET

I've looked over issue 1336.
I think we can reasonably get relative externals working for 1.2, but, there
is the question of how to format the relevant externals descriptions:

There are potentially *four* different kinds of relative externals (!):

1. Directory-relative externals.

Straightforward, a path like "../../foo/bar" should DTRT.

2. Repository-relative externals.

Conceptually straightforward (just use RA->get_repos_root()), but what
syntax should they take? "/branches/foobar/mymodule"?
But, should we also allow relative references to OTHER repositories?

For example, currently in cvs2svn's repository, we have:
"svntest
http://svn.collab.net/repos/svn/trunk/subversion/tests/clients/cmdline/svntest"

Should this be specifyable using something like
"svntest reposroot:../svn/trunk/subversion/tests/clients/cmdline/svntest"
?

3. Host-relative externals.

Simple in concept, but what syntax to represent?

4. Scheme-relative externals.

Consider a related grouping of repositories, maybe even on different hosts,
which may be accessed either as http:// or https:// - but, if you are
accessing one one way, you probably would rather use the same protocol for
externals too.

e.g. "myexternal httpsame://svn2.example.com/repos/beta/foo"

Let the brainstorming begin! :-)

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jan 3 18:49:50 2005

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.