[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: Res Pons <pons32_at_hotmail.com>
Date: 2006-08-31 03:43:49 CEST

Ok, I see what I was doing wrong: propset is sorta like the set command in
Win/*nix where it overwrites the previous values?

So, do I have to be in the target directory (c:\ProjA/subfolder1>) to
execute the command?

>svn propedit svn: external -what goes here?--

----Original Message Follows----
From: Blair Zajac <blair@orcaware.com>
To: Res Pons <pons32@hotmail.com>
CC: users@subversion.tigris.org
Subject: Re: SVN Externals Cont'd
Date: Wed, 30 Aug 2006 17:14:17 -0700

Res Pons wrote:
>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
>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

Each of your successive propset commands erased the previous setting. You
want to use svn propedit to edit the collection of them. If you use
propset, you have to set them all in one command, and with a multi-line
value, it's hard. So use propedit.

BTW, they're not called symlinks. Call them external checkouts, as symlinks
have a very specific meaning, separate from Subversion.


Blair Zajac, Ph.D.
Subversion training, consulting and support
Check the weather nationwide with MSN Search: Try it now!  
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 31 03:45:24 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.