Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Subversion sub-repository

Tags:

svn

Is there any stable method of having a repo maintained by SVN as a subset of another.

I might have the following:

  1. phpCodeRepo
  2. pyCodeRepo
  3. contentRepo

Such that 1 and 2 can have, as an element of their repo, some data of repo 3. Such that updating 3 would cause an (optional) version increment in 1 and 2. And checking out 1 or 2 will also checkout the right version of 3.

like image 613
Aiden Bell Avatar asked Jan 23 '23 15:01

Aiden Bell


2 Answers

You may want to implement using hooks

Also, you can pull in other repos when you check out using externals

like image 99
John Weldon Avatar answered Jan 26 '23 04:01

John Weldon


svn:externals might be an answer. But it works only on folder level, so you can share one folder across multiple repositories but you can't do that with single files.

like image 20
vava Avatar answered Jan 26 '23 03:01

vava