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

Relative URLs for svn:external

From: Peter Davis <pediddle_at_pediddle.net>
Date: 2003-08-26 06:25:56 CEST

Would it be possible to implement relative URLs in svn:externals? For
example:

  svn:externals:
    foo http://server/repos/foo
    bar ../xyz/relative-URL-to-bar/

Right now it results in:

  Fetching external item into bar
  svn: Bad URL passed to RA layer
  svn: Unrecognized URL scheme: "../xyz/relative-URL-to-bar/"

My reasoning is twofold:

(1) Without a real "svn link" command, svn:externals is the easiest way to
have a "live copy" of one part of a repository to another.

(2) Users can access the repository using all sorts of methods (http,
https,
svn, svn+ssh, etc.) and even different host names. Not all methods work
for all users (note how collab.net provides port 81 as well as port 80 so
that some people can get around stupid proxies). Relative URLs allow the
protocol and server name to change depending on the users' needs.

Without relativity, svn:externals' use as a substitute for
intra-repository
links is limited.

Thoughts?

-- 
Peter Davis <pediddle@pediddle.net>
Furthermore, I believe bacon prevents hair loss!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 26 13:53:34 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.