Placing Select Folders Under Version Control

Posted by Jonah on Stack Overflow See other posts from Stack Overflow or by Jonah
Published on 2011-01-13T19:44:52Z Indexed on 2011/01/13 19:53 UTC
Read the original article Hit count: 308

Filed under:
|

Hi,

I have an SVN repository on my hosted server (linux), and I need to do local work on them on my windows machine (tortoise svn installed). To simplify my question, the dir structure looks like:

root
|--------sub1
|--------sub2
|--------sub3
...
|--------subN

with additional subfolders under each subX. Say I only want certain sub-subfolders of "sub1" and "sub3" under version control. But on windows, when I commit a change with tortoisesvn, I still want to be able to right click the root folder, hit commit, and have any changes that exist anywhere under root in any selected folders to be committed. The problem is, I think using ignore would be very cumbersome, since there would be so many folders to ignore, at different levels of structure.

So basically, I want to put the whole thing under version control, and then tell svn "ok, now ignore everything except X and Y". What is the easiest way to accomplish this?

Thanks, Jonah

© Stack Overflow or respective owner

Related posts about svn

Related posts about tortoisesvn