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

RE: externals

From: Ian Brockbank <Ian.Brockbank_at_wolfsonmicro.com>
Date: 2004-09-29 17:09:53 CEST

Hi Simon,

> I am just killing myself here trying to get externals to
> work. I'm sure
> this will be an easy solution but I just can't see it. I have two
> repositories 410-public and 410-private they both have the standard
> branches, trunk and tags structure. I want to link the
> trunk/services/schema directory in the private version to the same
> directory in the public version so changes in the public
> version will be
> reflected in the private version. I am trying the command
> "svn propset
> svn:externals 'http://simon.ma.cx/svn/trunk/services/schema'
> schema from
> the services directory in private but I keep getting an error:

I think the command you want is

svn propset svn:externals 'schema
http://simon.ma.cx/svn/trunk/services/schema' .

i.e. the format of svn:externals is (<subdirectory> <URL>\n)+, and it
should be applied to the parent of the subdirectory. You _don't_ want
the schema subdirectory to exist at the time of setting the property
because it will be in the way of the directory the checkout of the
svn:external will create.

I generally use propedit rather than propset to set my svn:externals.
It avoids problems with quoting on the command line (since I write the
svn:externals in an editor instead). E.g.

svn propedit svn:externals .

HTH,

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 29 17:10:23 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.