You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by we...@tigris.org on 2009/04/20 09:33:54 UTC

Question regarding svn:externals and existing directories

Hi,

The docs mention that the svn:externals target directory should not exist. I added this property to the root of my WC:

http://framework.zend.com/svn/framework/standard/trunk/library/Zend@14980 library/Zend

... where the library directory existed, but not the Zend directory. Updating the WC (with Subclipse) did not check out the external project. Does the library directory also have to not exist?

I added the external to the library directory itself (target: Zend), and it worked fine.

Could anyone clarify?

Thanks,

Glen.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1821898

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Question regarding svn:externals and existing directories

Posted by "Bolstridge, Andrew" <an...@intergraph.com>.
I've not noticed that. I have noticed that using externals using the
same directory as a target clears it out before writing. (ie I had hoped
it would just populate the directory with the contents of 2 repository
dirs - which would be great, even it was only supported for exporting!)

However, all my externals have a single target directory - none of them
have 2 levels like you have.

Andy




> -----Original Message-----
> From: webpost@tigris.org [mailto:webpost@tigris.org]
> Sent: Monday, April 20, 2009 10:34 AM
> To: users@subversion.tigris.org
> Subject: Question regarding svn:externals and existing directories
> 
> Hi,
> 
> The docs mention that the svn:externals target directory should not
> exist. I added this property to the root of my WC:
> 
>
http://framework.zend.com/svn/framework/standard/trunk/library/Zend@149
> 80 library/Zend
> 
> ... where the library directory existed, but not the Zend directory.
> Updating the WC (with Subclipse) did not check out the external
> project. Does the library directory also have to not exist?
> 
> I added the external to the library directory itself (target: Zend),
> and it worked fine.
> 
> Could anyone clarify?
> 
> Thanks,
> 
> Glen.
> 
> ------------------------------------------------------
>
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessage
> Id=1821898
> 
> To unsubscribe from this discussion, e-mail: [users-
> unsubscribe@subversion.tigris.org].

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1822361

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


RE: Re: Question regarding svn:externals and existing directories

Posted by Glen Ainscow <lo...@yahoo.com>.
> On Apr 20, 2009, at 04:33, webpost@tigris.org wrote:
> 
> > The docs mention that the svn:externals target directory should not  
> > exist. I added this property to the root of my WC:
> >
> > http://framework.zend.com/svn/framework/standard/trunk/library/ 
> > Zend@14980 library/Zend
> >
> > ... where the library directory existed, but not the Zend  
> > directory. Updating the WC (with Subclipse) did not check out the  
> > external project. Does the library directory also have to not exist?
> 
> I don't know. Try it out in a testing environment and see if that  
> fixes it.
> 
> The book says "subdirectories" (plural): "The relative target  
> subdirectories of externals definitions *must not* already exist"
> 
> http://svnbook.red-bean.com/en/1.5/svn.advanced.externals.html
> 
> 
> > I added the external to the library directory itself (target:  
> > Zend), and it worked fine.
> 
> This is the only way I have ever used externals and it works fine, so  
> I recommend you do it that way.
Thanks Ryan. I've gone with that method.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1844591

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Question regarding svn:externals and existing directories

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 20, 2009, at 04:33, webpost@tigris.org wrote:

> The docs mention that the svn:externals target directory should not  
> exist. I added this property to the root of my WC:
>
> http://framework.zend.com/svn/framework/standard/trunk/library/ 
> Zend@14980 library/Zend
>
> ... where the library directory existed, but not the Zend  
> directory. Updating the WC (with Subclipse) did not check out the  
> external project. Does the library directory also have to not exist?

I don't know. Try it out in a testing environment and see if that  
fixes it.

The book says "subdirectories" (plural): "The relative target  
subdirectories of externals definitions *must not* already exist"

http://svnbook.red-bean.com/en/1.5/svn.advanced.externals.html


> I added the external to the library directory itself (target:  
> Zend), and it worked fine.

This is the only way I have ever used externals and it works fine, so  
I recommend you do it that way.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1842406

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].