Say I have a directory structure like this
dir1
dir2
dir3
dir2
is already under version control, whereas dir1
is not. Now I realize that I would like to have dir1
under version control as well (and maybe later on dir3
etc.) How can I do this and reflect the changes correctly in the repository?
If I just move dir2
out of dir1
, add dir1
to SVN and move dir2
back into dir1
, this will probably destroy the version history of dir2
. What makes it even more complicated is that dir2
contains many files which are not under version control (they are ignored), so dir2
cannot be (fully) recreated from the repository.