Data from multiple sources can be added to your SVN repository. Either SVN dump files from previous repositories or unversioned directories can be added to your Assembla SVN repository.
Import an SVN dump file
If you already have an SVN repository, you can import it directly to Assembla. To import an SVN repository from another server:
- Obtain an SVN dump file for the source repository. The steps for obtaining an SVN dump file varies depending on the SVN service provider hosting the repository, but in most cases you can create it by using this command:
svnadmin dump /path/to/repository | gzip -9 > svnexport.dump
2. Add an empty SVN repository to your Assembla space as shown in the "Starting from scratch?" section
3. Go to the Import/Export sub-tab in the SVN tab for your newly created repository.
4. Browse and select the SVN dump file from your computer and click Import. If your file is larger than 2000 MB, you will need to use a URL to import it instead. An import job will be scheduled and run in the background.
For more detailed instructions, see Migrating SVN Repositories to Assembla.
Do you have unversioned files to upload to your repo?
If you currently organize your project files in an unversioned directory structure, then they must be added to your Assembla SVN repo before you can start committing your changes to those files. To learn more, check out Adding Unversioned Files to Your SVN Repository.
For Users with the New UI
Adding a Repository to Your Space
When creating a new Space, you can create the Space with a repository by checking the Create with repository box on the first step.
Alternatively, if you would like to create a repository in an existing Space, click on the green (+) button and select New Repository. The wizard will ask you to select the Space you would like to create your repository in, as well as what you would like to name your repository and what type of repository it is.
If you would like to import an existing repository from an external location, select Import repository and enter your repository's URL and, if necessary, access credentials.
Need help? Contact us at firstname.lastname@example.org