I have a repository of files which are unrelated to each other but are common to multiple projects. Each project might only need a subset of these files. For example:
/myRepo:
/jquery.js
/jquery.form.js
/jquery.ui.js
Project A requires jquery.js
and jquery.form.js
, whereas Project B requires jquery.js
and jquery.ui.js
I could just do a checkout of myRepo
into both projects, but that'd add a lot of unnecessary files into both. What I'd like is some sort of way for each Project to only get the files it needs. One way I thought it might be possible is if I put just the required files into each project and then run an svn update
on it, but somehow stop SVN from adding new files to each directory. They'd still get the modifications to the existing files, but no unnecessary files would be added.
Is this possible at all?