Need your help,
We have huge SVN repo (non-standard format with 76000 revisions) and want to split ONLY the binaries from the repo and then load those binaries into the new repo.
To achieve this, we had followed the below approach:
- Create a dump of the current repository
svnadmin dump /opt/repo > full_dump
- Filter the dump to include the binaries directories
svndumpfilter include folderofbinaries --renumber-revs --drop-empty-revs < full_dump > filtered_dump
- Create a new repo
svnadmin create newrepo
- Most of the directories included has a parent directory, therefore need to create
svn checkout "file:////path/to/newrepo/" newrepocheckout
svn add newrepocheckout/some
svn commit newrepocheckout -m "Prepare to load filtered history"
- Create a local SVN repository with the filtered dump:
svnadmin load repo-filtered < filtered_dump
However, we are seeing errors related tosvnadmin: File not found: transaction ‘0-0’ , path
Tried using the option
svnadmin load —parent-dir “/program” repo-filtered < filtered_dump
svnadmin: E160013: File not found: transaction '0-0', path 'programs/branches’
We have around 100's of 1000's of parent directories and how can we include all the parent directories while loading the filtered_dump into the new repo?
Is there any possibility to copy all the parent directories from old repo to new repo and then load the dump into the new repo?
PS - Opening this ticket, since I did not receive any inputs from the mailing list group email@example.com