Let's say I have two repositories: "Library Repo" and "Project 1 Repo".
Library repo contains code that should be used by multiple projects and is version controlled appropriately. Project 1 repo is a single project that wishes to use some of the code in the library repo.
Project 1 Repo wishes to use the library repo code as external items. This allows a developer to only have to make changes to the Library 1 repo code instead of every repo that uses the library code.
However, it appears that SVN external items can only be configured if the external item source lives within the same repository. I would actually have to create a master repo where the library and projects are not their own repos, but simply directories as illustrated below:
SVN Repo
- Library
- Project 1
- Project 2
- Project 3
This works okay, but it forces me to keep every single project within the same repository. This can get heavy weight overtime and gives everyone access to the projects when in reality, they only need access to a single project.
My question: is there a method for external items to be added from a separate SVN repository?
When attempting to do this, SVN will give an error complaining that the external item lives in a separate repo and it isn't allowed. I'm curious if there is a work-around.