Some Advice on How to Mimic Sharing for This Project

amykhar
amykhar
I'm going bananas trying to maintain some files that were easy to deal with in Visual Source Safe. Essentially, I have a subversion project that contains Xaraya source code with all our modifications. We have configured Xaraya to use the same code base for multiple sites. Each site uses a different theme.    Each theme has some unique files and some common files. It's the common files that are giving me grief. If I update a common file, I have to copy it to every theme and then commit the file for every theme. In Visual Source Safe, I could share these files. Committing it in one place would get the new file pulled to all the themes.    I understand that if the common files were in a single directory together, I could use externals to mimic sharing. But, the way Xaraya code is organized, the files I need to share are not in directories with the other shared files. Some files in the same directory need to be unique.    I suppose I could write a script to automate the copying and submitting of the shared files. But, isn't there any way in subversion to deal with this kind of situation?    Amy

Last updated

andyl
andyl
At present, SVN does not support "sharing" (externals) of individual files. I suspect that this "limitation" of Xaraya (shared files can't be put into a single directory) isn't so much a limitation of the tool itself but rather your usage of it.
(ode$linger
(ode$linger
If you're on unix, symbolic links could solve your problem.

1-3 of 3

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.