You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Neson Maxmelbin (RBEI/EMT4)" <Ma...@in.bosch.com> on 2012/03/01 09:59:28 UTC

subversion externals issue

Hello ,

I have externals from other repo's configured in my master project under trunk.
When I tag the trunk and then checkout the tag, the externals are not checked out.
When I tag the entire repo and then checkout the tag, the externals are checked out. Is this the normal behavior? [I tried from Tortoise SVN]

Mit freundlichen Grüßen / Best regards

Maxmelbin Neson


Re: subversion externals issue

Posted by Daniel Shahaf <da...@elego.de>.
Ryan Schmidt wrote on Thu, Mar 01, 2012 at 08:46:08 -0600:
> 
> On Mar 1, 2012, at 02:59, Neson Maxmelbin (RBEI/EMT4) wrote:
> 
> > I have externals from other repo's configured in my master project under trunk.
> > When I tag the trunk and then checkout the tag, the externals are not checked out.
> > When I tag the entire repo and then checkout the tag, the externals are checked out. Is this the normal behavior? [I tried from Tortoise SVN]
> 
> That does not sound normal to me, and I have not heard of that happening before.
> 
> How is the tag created -- via "svn cp" from the trunk URL, or from a trunk working copy? If from a working copy, is it possible you had not run "svn up" on the working copy since before you added the externals definition?
> 
> If you check out the tag of trunk, does "svn propget svn:externals" show the externals definition or not?
> 
> I don't understand how you would "tag the entire repo" since the tags directory is inside the repo and you cannot copy something into itself.
> 

Sorry Ryan, you're wrong :) 

svnadmin create r1
svn cp file://`pwd`/r1 file://`pwd`/r1 -m "counter example"
svn log -qvr1 file://`pwd`/r1

The catch here is that you copy /@1 into /@2 --- which is not the same
thing.

Re: subversion externals issue

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 1, 2012, at 02:59, Neson Maxmelbin (RBEI/EMT4) wrote:

> I have externals from other repo's configured in my master project under trunk.
> When I tag the trunk and then checkout the tag, the externals are not checked out.
> When I tag the entire repo and then checkout the tag, the externals are checked out. Is this the normal behavior? [I tried from Tortoise SVN]

That does not sound normal to me, and I have not heard of that happening before.

How is the tag created -- via "svn cp" from the trunk URL, or from a trunk working copy? If from a working copy, is it possible you had not run "svn up" on the working copy since before you added the externals definition?

If you check out the tag of trunk, does "svn propget svn:externals" show the externals definition or not?

I don't understand how you would "tag the entire repo" since the tags directory is inside the repo and you cannot copy something into itself.

You should show us a transcript demonstrating the problem, starting from the creation of an empty repository.

You should also indicate Subversion and OS versions, and the method used to serve the repository (svnserve, httpd, ...).