I have been working on a project locally using a git repo cloned from svn using git-svn. I now need to add in some code from a different svn repo. The code is modular, so the new code will be in a new subdirectory that does not overlap the existing code. I use git-svn on my local development environment, the staging server is an svn checkout, and the live server is an svn export.
For some context, I'm working on two separate Drupal sites, each with their own svn repo. Site A has some custom modules that now need to be added to Site B. What is the best way to manage the separate sites & repos?
It seems like I may be better off setting up a third separate svn repo that contains modules that are shared between sites. If so, what is the best way to work with two separate repos in a single project?
EDIT: I'm especially interested in how others handle version control when mixing Drupal contributed modules with custom modules, across multiple sites. How might I improve on the setup described in the last sentence of the first paragraph?