SVN Checkout at the checkout

I seem to remember this somewhere, but for the life of me, searching doesn't lead to the results I'm looking for. This is what I want:

I have a project repository. Other svn repos have libraries that I would like to include in my project. When I perform an SVN transaction on the main project, I would like all files, including checking out the libraries, to be committed to the main project repository. At the same time, I would also like to be able to do svn updates only in the library folder and pull updates from my own repository elsewhere.

This is possible, right - how?

In case it was a confusing description, I'll try to make it visual:

\ Project Repository  (@ my.svn.com )
    \ project source files
    \ project media files, etc.
    \ Libraries
        \ some library (@ gnu.svn.com )
        \ some other library (@ fsf.svn.com )

      

In this case, doing an SVN commit in the project itself will result in the contents of "some library" and "some other library" being pushed into the repository for the "Project Repository". However, if I were to perform an SVN update in "some library", it would pull its updates from its own svn, gnu.svn.com.

(currently using TortoiseSVN but not afraid to use the svn command line if required)

+2


source to share


3 answers


You are thinking about svn externals , my experience with them has been a long time, but I found that it was painful for them to set up.



+6


source


You probably want to use svn: externals, which simulate the functionality you are describing. See here: http://svnbook.red-bean.com/en/1.0/ch07s03.htm



+2


source


To be complete, TortoiseSVN supports customizing external SVNs using a GUI interface. Two link links:

http://justaddwater.dk/2007/10/23/setting-up-subversion-externals-with-tortoisesvn/

http://e-mats.org/2008/05/adding-an-external-svn-resource-with-tortoise/

(And this is not as bad as it might seem!)

0


source







All Articles