You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Edmund Wong <ed...@kdtc.net> on 2009/10/08 01:12:16 UTC

issue 3390

Hi,

Despite the fact that this issue is assigned to cmpilato, I am
interested in it.  I'm still familiarizing myself with the
'switch' command since I don't use it at all.

Anyway, in his script, the repos is created and checked out
to a wc.  A few other things are done to it, primarily,
adding a relative external:

echo "### Adding a relative external on trunk/top/sub1, pointing to 
../sub2 ..."
${SVN}/svn pset svn:externals '../sub2 sub2-ext' trunk/top/sub1
${SVN}/svn up
${SVN}/svn ci -m "Add relative external."

echo "### Making a branch from trunk ..."
${SVN}/svn up
${SVN}/svn cp trunk branch
${SVN}/svn ci -m "Add branch."

echo "### Switching trunk to the branch ..."
${SVN}/svn switch ^/branch trunk


The last line produces warnings:
svn: warning: Error handling externals definition for 
'trunk/top/sub1/sub2-ext':
svn: warning: URL 
'file:///home/cc/svn_stuff/branches/sandbox/issue-3390-repos/branch/trunk/top/sub2' 
at revision 3 doesn't exist
At revision 3.

This warning doesn't appear on the trunk, so it's probably something
cmpilato added.

Am I correct in thinking that the second warning is wrong in that the
first part of the url 
"file:///home/cc/svn_stuff/branches/sandbox/issue-3390-repos/branch"
should not be concatenated with trunk/top/sub2.  The trunk part should
be removed.

Is this the whole gist of the issue or am I confused?

Thanks

Edmund

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