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

Re: svn:externals format

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 16 Nov 2010 17:11:49 +0100

On Tue, Nov 16, 2010 at 02:55:17PM +0100, Christoph Bartoschek wrote:
> Am Dienstag, 16. November 2010 schrieb Stefan Sperling:
> > On Tue, Nov 16, 2010 at 01:43:35PM +0100, Christoph Bartoschek wrote:
> > > Hi,
> > >
> > > what is the advantage of using
> > >
> > > ^/trunk/project/subproject_at_40 subproject
> >
> > This new format does support relative URLs.
> >
> > > compared to
> > >
> > > -r 40 ^/trunk/project/subproject subproject
> >
> > This old format doesn't support relative URLs.
> > You can only use full URLs (http://svn.example.com/...) with this format.
> >
> > See "svn help propset" for more information.
>
> svn help propset states that relative URLs also work for the old format.

Sorry, I got mixed up about the old and new formats.

The new format is as follows: '[-rN] URL[@M] PATH'
The old format was: 'PATH [-rN] URL'

The real difference between the old and new formats is that the URL cannot
have a peg revision in the old format (support for peg revisions in
svn:externals was added in r863820). This means that, using the old format,
one cannot refer to URLs which have been deleted in the HEAD revision.

> We currently use the old format with relative URLs:
>
>
> "Relative URLs are supported in Subversion 1.5 and greater for
> all above formats and are indicated by starting the URL with one
> of the following strings"

I've tried this using the actual old format (PATH [-rN] URL),
and you're correct. Relative URLs are supported in either format.

Thanks,
Stefan
Received on 2010-11-16 17:12:36 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.