Here's how to import an SVN repository.
Make sure that SVN is already enabled for the project.
You need to ask a SVN dump to the project admin as explained at SvnImportExistingRepo.
Once the user has provided it, login at Savannah. Since the process is usually long with lots of output, it's recommended to start it in a screen or redirect as below, etc.:
ssh vcs cd /root wget -nv http://url/to/myproject.dump.bz2 proj=MYPROJECT bzcat myproject.dump.bz2 | svnadmin load /srv/svn/$proj/ >&/tmp/svimport.out # alternatively, to see a percentage: # pv myproject.dump.bz2 | bzcat | svnadmin load -q /srv/svn/myproject/ rm myproject.dump.bz2 chmod g+w -R /srv/svn/$proj/db/re*
Sometimes a user may provided a tar of his local svn repository. In this case, please ask a proper svn dump (produced by svnadmin dump). Using a direct tar is not recommended because we may not be using the same versions of SVN, and sometimes the format changes with the new versions of SVN.