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

RE: Re: externals question

From: Ian Brockbank <Ian.Brockbank_at_wolfsonmicro.com>
Date: 2004-08-04 11:32:35 CEST

Hi Taco,

The format of the command is svn propset svn:externals "value"
directory. E.g.

svn propset svn:externals "project1
svn://localhost/svnrepos/projects/generic" .

 - remember the externals value has to be enclosed in quotes so that it
appears to the command line as a single argument. Also the directory on
the working copy comes before the URL (and until 1.1 comes along you
can't have relative externals).

I use svn propedit instead of propset - e.g.

svn propedit svn:externals .

That brings up a text editor in which to put the svn:externals.

The svn:externals property is a set of lines of the format
<dir> <URL>
 - one directory per line. So in this case, you would type
project1 svn://localhost/svnrepos/projects/generic
into the text editor.

It is documented on pages 154-156 of the book, online at
http://svnbook.red-bean.com/svnbook/ch07s03.html

Does this make it clearer?

Ian Brockbank
Senior Applications Software Engineer
e: ian.brockbank@wolfsonmicro.com / apps@wolfsonmicro.com
scd: ian@scottishdance.net
t: +44 131 272 7145
f: +44 131 272 7001
  

 

> -----Original Message-----
> From: Taco Walstra [mailto:walstra@science.uva.nl]
> Sent: 04 August 2004 10:18
> To: users@subversion.tigris.org
> Subject: Re: externals question
>
> On Wednesday 04 August 2004 11:06, Jan Evert van Grootheest wrote:
> > Here's how we do it.
> > There's a subdirectory in the project that's called
> components (the generic
> > code).
> >
> > [issysd25@a05008 mal]$ svn pl -v
> > Properties on '.':
> > svn:externals : components
> > http://a05009.aex.nl:65030/svn/MAL2/products/trunk/components
> >
> sorry, but it's not a real answer. The question was examples
> of SETTING the
> externals property and what is wrong with the syntax of
> svn propset svn:externals ../../generic project1
> or
>
> (from the specific directory)
> svn propset svn:externals ../generic project1
>
> or
> svn propset svn:externals
> svn://localhost/svnrepos/projects/generic project1
> Taco Walstra
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
> ______________________________________________________________
> __________
> This email has been scanned for all viruses by the MessageLabs Email
> Security System.
> ______________________________________________________________
> __________
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 4 11:33:12 2004

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.