Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN: How do I link part of my source to another repository?

Say my trunk refers to Hibernate and I would like to use the source directly in my repository from sourceforge and whenever I do a svn update it should also update hibernate from its source
How do I achieve this?

like image 682
Quintin Par Avatar asked Dec 05 '09 11:12

Quintin Par


People also ask

How do I checkout a link in svn?

Open the SVN server, right-click on the repository and select the copy URL to clipboard (for the VIsualSVN server) and paste it on the command line. User credentials will be the same as what we set at the time of user creation. After every successful checkout operation, the output will print a revision number.


1 Answers

You should be able to do so with externals. Set them up with a command like this:

svn propset svn:externals dest-folder http://your-other-repository

You can find the documentation on externals in http://svnbook.red-bean.com/en/1.0/ch07s03.html

like image 195
Thomas Avatar answered Oct 24 '22 01:10

Thomas