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

RE: [Subclipse-users] Problems with externals

From: Lira Olavo <Olavo.LIRA_at_gemalto.com>
Date: 2007-02-13 16:48:36 CET

Here is my thread about the same problem in subversion user list:

=====================================================================
=====================================================================

On Dec 18, 2006, at 12:18, LIRA Olavo wrote:

>> I'm not sure that I realy understand.
>> Your question seems to be "Can I have two directories with the same
>> name at the same place ?".
>> What would you like subversion to do exactly when you checkout your
>> project A ?
>>
>> EEBXXX_YYYZZZ (From Project A)
>> Dev (From Project A)
>> ??? (From Project B svn:externals), it can not be also Dev...
>
> Hi Christophe,
>
> Sorry if I didn't explain may self correctly. Here is another
> try:
>
> EEBXXX_YYYZZZ (From Project A)
> Dev/
> Tools (From Project A)
> Applet (From Project B svn:externals)
> OS (From Project B svn:externals)
> Ext (From Project A)
> Plugin (From Project C svn:externals)
>
> So in order to have the picture above my svn:externals should be:
>
> Dev/ https://svnrepository/ProjectB/Applet
> Dev/ https://svnrepository/ProjectB/OS Dev/
> https://svnrepository/ProjectC/Plugin
>
> But then I have the error I've shown you because I Project A has

> already the Dev directory.
>
> If svn:externals cannot handle this, do you know another way to
link
> directories from different projects?

svn:externals can handle this just fine. But you need to set
svn:externals on the Dev directory of Project A then, not its parent
directory, and the contents of the svn:externals property on the Dev
directory should be as follows:

Applet https://svnrepository/ProjectB/Applet
OS https://svnrepository/ProjectB/OS
Plugin https://svnrepository/ProjectC/Plugin

=====================================================================
=====================================================================

I hope this can help you,

Olavo Lira

-----Original Message-----
From: Mark Phippard [mailto:markphip@gmail.com]
Sent: Tuesday, February 13, 2007 6:19 AM
To: users@subclipse.tigris.org
Subject: Re: [Subclipse-users] Problems with externals

On 2/12/07, Tom Walter <walter.tom@gmail.com> wrote:
> Hi all,
>
> Not sure if this is something wrong with my setup or a subclipse
issue.
>
> When I have externals set directly on the directory to which they
apply,
> it seems to work fine.
>
> But when I have an external set at the root level which applies to a
> directory deeper in the heirarchy, subclipse displays those
directories
> as 'unversioned' and when I go to do commits/reverts etc, handles them
> as if they were unversioned files.
>
> I'm using eclipse 3.2.0 and subclipse 1.1.10.

That is the normal behavior. When you use externals like this, the
intermediate folders are unversioned (they do not have .svn folder).
You just have to know to try to not perform any operations on those
folders. There was a thread about this maybe 4-6 weeks ago if you
want to try to find it.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Feb 13 16:49:02 2007

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

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