views:

61

answers:

1

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?

+6  A: 

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

Thomas
There are also other tools (piston/steam) that can be used for a "more flexible" svn:externals. If you do use svn:externals, *please, please, please* make sure you checkout a specific revision or tag! (Actually, I don't care much, but it may save you some headaches in the future.)
pst