Checking out your SVN repository
To check out your SVN repo
In the Source sub-tab of your SVN repository you can find the URL for the SVN repository to check out.
Note: If you are having issues with a caret (^) in your URL, replace each caret with "%5E".Download an SVN client. For Windows, we recommend TortoiseSVN and for Mac and Linux, we recommend Cornerstone or simply using the command line.
Check out your Assembla repository and add unversioned code directories/files using the guide below developed for your OS.
Checking out and committing changes in Windows
We recommend using TortoiseSVN as a Subversion client for Windows.
Before you start, make sure you have an Assembla password. If you signed up with your Google or Yahoo account, you might need to create an Assembla password. To set one, go to your profile page and create a password.
To check out and commit changes in Windows
Create a folder in your local file system.
Right-click inside the folder where you want to check out the repository, and then select SVN Checkout from the pop-up menu.
In the new pop-up window, enter the URL for your Assembla-hosted SVN repository, and then click OK. Copy the URL from the SVN repository Source tab on Assembla.
When prompted, type your Assembla username and password, and then press Enter to check out the repository.
Checking out and committing changes in Mac and Linux
To check out and commit changes in Mac & Linux systems
Create a local folder.
$ mkdir My_SVN
Go to your folder.
$ cd My_SVN
Check out the repository.
$ svn co --username assembla_username --password assembla_password https://subversion.assembla.com/svn/your_space/
A new folder is created inside your SVN folder, which is your repository.Go to trunk.
$ cd your_space/trunk
Add or make changes to the repository.
$ nano xyz.txt
Add the local file to your changes.
$ svn add xyz.txt
If you see the error "W150002," run
--force
at the end.
$ svn add xyz.txt --force
Go back to root.
$ cd ..
Commit the changes to your repository.
$ svn commit -m "Commit Message"
Update your repository.
$ svn update
Adding unversioned files
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.
Adding unversioned files in Windows
If you're using TortoiseSVN as your client, simply drag the files into your repository structure even if it's empty. Right-click and select TortoiseSVN > Add to convert your file into a versioned file as a part of your SVN repository.
Adding unversioned files in Mac
If you are using a command line client on your Mac, simply drag the files (and directories, if applicable) into your repository structure even if it's empty. Use the svn add
command to convert your file or directory into a versioned file as a part of your SVN repository.
$ svn add <path_to_file>
Then, simply commit the changes to your repository as usual.
Need help? Please contact us at support@assembla.com.