SVN - how to convert individually verified subfolders to sparse checkout

SVN repo is as follows:

top /
top / one
top / two
top / three
... etc.

You do not want to check the entire top folder , but you do not know about the SVN rare check function .
So you select the top / one repo folder in C: \ svn \ top \ one , and then you check the repo top / two folder in C: \ SVN \ top \ two

At this point, both of the drop-down folders have their own .svn folder

Then you will find rare checks .

QUESTION

How do you convert an “offline” scan of these two folders to a sparse check of the top-level folder with minimal re-checking?

Is it as simple as initiating a sparse checkout without overwriting existing items and then simply deleting existing folders .svn?

+6
source share
1 answer

SVN works recursively, which means that each folder is basically independent of its parent. Therefore, the problem arises from the .SVN in the parent folder, this is the one you want to recreate from scratch.

Rename your old folder (.old) and create a new one. Do your rare check in this folder. It should upload files, but you can prevent this with --depth empty.

Sparse Checkout . SVN .

+1

Source: https://habr.com/ru/post/1015799/


All Articles