I am setting up an SVN mirror and I followed these steps in sequence:
- Created repository
- Loaded dump from main repository to mirror
- setup hook scripts
- Tried
svnsync synchronize destination source
However I got the error on the last step:
svnsync: Destination repository has not been initialized
I should have run svnsync initialize
after the repository creation but I missed it. Now, as per the svnsync
command, I cannot sync until I initialize but I cannot initialize because I already have revisions committed.
The only option I have is to start from scratch and follow the correct order of steps, but it is time-consuming as I will have to load 200 000+ revisions in the mirror.
Is there a workaround to the problem?