I have a java project checked out from one SVN repository where I have read access. To this project I added my own package. I have uploaded the entire project, including my package to my own SVN repository. Is there an easy way to update my sources from the repository where I initially got the project?
+3
A:
I think you're looking for SVN externals: http://svnbook.red-bean.com/en/1.0/ch07s03.html
Mike Sherov
2010-02-05 18:21:06
I would prefer to have all the code in my repository.
Mihai
2010-02-05 18:34:33
I see, then yeah, you want vendor branches. My answer is wrong.
Mike Sherov
2010-02-05 19:12:54
+4
A:
This situation is usually handled using Vendor Branches.
EDIT
Also consider using a distributed version control system (Mercurial, Bazaar, Git). I think most of them can also connect to subversion repositories (for Bazaar I'm sure ...) and they are specifically designed for such situations.
MartinStettner
2010-02-05 18:54:19
I read about those but the bad part is that my folder is somewhere deep in the folder tree. I would have to copy each of the folders manually, right?
Mihai
2010-02-05 18:56:59
Basically you have one branch for the original library. You make an initial copy from this branch to your trunk and keep working there. If there are changes in the original library, you put these changes in the vendor branch (manually afaik) and then merge these changes back into the trunk. It makes no big difference where your changes are located, the principle is always the same.
MartinStettner
2010-02-05 19:20:53
OK, I think I will try that. It would be nice to be able to just integrate them though.I want to stick to svn since I have a repository for it. (I am not the server admin)
Mihai
2010-02-05 19:29:54