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

issue 3390

From: Edmund Wong <ed_at_kdtc.net>
Date: Thu, 08 Oct 2009 09:12:16 +0800

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
Received on 2009-10-08 03:21:35 CEST

This is an archived mail posted to the Subversion Dev mailing list.

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