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

Re: SVN Externals Cont'd

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-08-31 02:14:22 CEST

"Res Pons" <pons32@hotmail.com> wrote on 08/30/2006 08:01:40 PM:

> Last week I asked about svn externals and received many useful tips from
you
> guys and I ran it on couple of test projects and it worked fine.
>
> Today I took a chance on the production environment and it's not looking

> good.
> I cd'd to my working folder and try to execute and import/symlink 3
> subfolders. See the succession of commands. But at the end only 1 of
the
> folders is really a symlink. How can I do multiple links?
>
> ProjA/subfolder1/subfolder2/subfolder3/manysubfolders (a, b, c, d ...)
>
> I would like 3 subfolders (a, b, and c) of manysubfolders to be
symlinked
> into ProjA/subfolder1, in other words, parallel to subfolder2. So I cd
into
> ProjA/subfolder1 and run
>
> c:\ProjA/subfolder1>svn propset svn:externals "a
> http://ProjA/subfolder1/subfolder2/subfolder3/manysubfolders/a" .
>
> property 'svn:externals' set on '.'
>
> c:\ProjA/subfolder1>svn propset svn:externals "b
> http://ProjA/subfolder1/subfolder2/subfolder3/manysubfolders/b" .
>
> property 'svn:externals' set on '.'
>
> c:\ProjA/subfolder1>svn propset svn:externals "c
> http://ProjA/subfolder1/subfolder2/subfolder3/manysubfolders/c" .
>
> property 'svn:externals' set on '.'
>
> c:\ProjA/subfolder1>svn ci -m "comment"
>
> Sending subfolder1
>
> Committed revision 33370.
>
> c:\ProjA/subfolder1>svn status
> x c
> ? a
> ? b
>
> NOT SURE HOW I CAN GET THIS TO WORK.

Every command is replacing the previous value. You need to load these
values in to a file:

a http://ProjA/subfolder1/subfolder2/subfolder3/manysubfolders/a
b http://ProjA/subfolder1/subfolder2/subfolder3/manysubfolders/b
c http://ProjA/subfolder1/subfolder2/subfolder3/manysubfolders/c

Then use svn propset -F filewithprops .

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 31 02:19:32 2006

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.