This took be a bit. You want to create a repository on Assembla that you can access from anywhere and contribute. The problem is you created a repository successfully but you can’t add or import files to it. This is tutorial for you if you are using mac (macintosh) computer.
Ok so first create your SVN repository on Assembly. Now you need to import files. If you do not really have an SVN Repository locally, you will have to create one. Simple zipping a files or folder and importing to Assembla does not work.
So create a local repository. I have used SmartSVN (Free version) for that. Import all your files to it. Now you have a fully work local repository where you can add/commit changes.
Now create an SVN Dump. SVN Dump is not the same as zipping your SVN Reposiory. You will have to use svnadmin command to create the dump. The following is the command that you need to run
svndadmin dump /local-path-to-repository/repository > my_rep_dump.txt
Not that that /local-path-to-repository/ is the actually path where the repository was created. In my case the command was
svnadmin dump /Projects/Repositories/Project1 > Project1_dump.txt
The following it the directory structure of my “Project1” repository. After this zip the folder and upload it to Assembla using import/export feature. It would say “The file has been queued”. It would probably take 5 minutes when you whole repository will appear with complete history.
“>” is redirection operator. It redirects the outout of the command to a file.
Project1_dump.txt, is the file where the output is directed to. You can use any name or extension for this file. You need to zip this file and upload it. (do not modify it in any way!)