Copying a foreign Subversion repository to keep under dependencies
Posted
by Jonathan Sternberg
on Stack Overflow
See other posts from Stack Overflow
or by Jonathan Sternberg
Published on 2010-06-06T02:07:50Z
Indexed on
2010/06/06
2:12 UTC
Read the original article
Hit count: 265
I want to keep dependencies for my project in our own repository, that way we have consistent libraries for the entire team to work with. For example, I want our project to use the Boost libraries. I've seen this done in the past with putting dependencies under a "vendor" or "dependencies" folder.
But I still want to be able to update these dependencies. If a new feature appears in a library and we need it, I want to just be able to update that repository within our own repository. I don't want to have to recopy it and put it under version control again. I'd also like for us to have the ability to change dependencies if a small change is needed without stopping us from ever updating the library.
I want the ability to do something like 'svn cp', then be able to 'svn merge' in the future. I just tried this with the boost trunk, but I'm not able to get any history using 'svn log' on the copy I made.
How do I do this? What is usually done for large projects with dependencies?
© Stack Overflow or respective owner