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

Re: Finishing relative svn:externals

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2007-07-19 14:00:08 CEST

Blair Zajac wrote:
> Proposal
> ========
>
> 1) Be as RFC 3986 compliant as we can.
>
> 2) The relative URLs are:
>
> relative to current directory
> ../../branches/1.4.x
> relative to repository root
> ^branches/1.4.x
> relative to server root
> /svn/repos/branches/1.4.x
> relative to scheme
> //svn.collab.net/svn/repos/branches/1.4.x

+1. Love the caret!

(And yes, I for one believe that we should support these formats on the
command-line to the degree it makes sense to do so.)

> Unspecified behavior is how far up ..'s go in relative to the current
> directory URLs.

My initial thought was to disallow ..'s which would make a path crawl go
above the repository root. But after further consideration, I realize I
simply don't care about such a rule. Hopefully, we'd be normalizing the
final URL before every consulting the server. So, I guess the rule would be
that you can't use ../ to rise above the server root.

-- 
C. Michael Pilato <cmpilato@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

Received on Thu Jul 19 13:59:23 2007

This is an archived mail posted to the Subversion Dev mailing list.