I have SVN download automatically some projects from another part of the trunk to my current trunk location - i.e. sharing projects with SVN:Externals.
But I have it hard coded currently like so
MS.Utils http://192.168.1.1/svn/repro/projects/TestProj/trunk/MainApp/src/MS.Utils
Now this is working开发者_StackOverflow and all is fine as I am currently in the TRUNK ... when I finish this project I will move it to a branch! hence the SVN:Externals will still be pointing to the trunk. Is is possible to put in Relative paths, so it will download from the trunk? When I move it to a branch or whatever it will download from that branch because of using relative paths.
As mentioned in the Subversion book, you can specify relative urls in the svn:externals property as well.
../
Relative to the URL of the directory on which the svn:externals
property is set ^/
Relative to the root of the repository in which the svn:externals
property is versioned //
Relative to the scheme of the URL of the directory on which the
svn:externals property is set /
Relative to the root URL of the server on which the svn:externals
property is versioned
精彩评论