Friday, October 30, 2009

How To - svn:externals

Today I had to add webkit as an external directory to my trunk in SVN.

My SVN folder structure is like this.
/SVN/Repos/Trunk
              /Lib1
              /Lib2
              /App


I wanted to add an external directory to trunk folder. As shown below.
/SVN/Repos/Trunk
              /Lib1
              /Lib2
              /webkit
              /App


I tried various ways to set the svn:externals property all in vain. Thanks to the following link I got to know how to do it right.

%cd /SVN/Repos/Trunk
%svn propset svn:externals 'webkit http://svn.webkit.org/repository/webkit/trunk' .


This did the trick.

%svn propget svn:externals
can be used to verify if the externals are properly set.

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails