I have the following SVN structure:
ExistingRepository1
- ...
- MyFolder
- FolderToMove
- ...
ExistingRepository2
- ...
- AnotherFolder
- FolderToMove <- moved here
- ...
So I already read this question: How do I move a single folder from one Subversion repository to another repository? But in my case ExistingRepository2 already exists. So how can I do it? I want to have all revisions in the new project.
I have for example the revision number 1000 in ExistingRepository1 -> MyFolder -> FolderToMove
, but in the ExistingRepository1
there is already a revision with number 1000. So, what will the svn load
do? Will it automatically move the revision numbers?
These would be the commands:
svnadmin dump /svn/ExistingRepository1 > ./repository.dump
svndumpfilter include MyFolder/FolderToMove --drop-empty-revs --renumber-revs --preserve-revprops < ./repository.dump > ./folderToMove_only.dump
svnadmin load /svn/ExistingRepository2 < ./folderToMove_only.dump
Thank you in advance for your help, Best Regards, Tim.