Skip to main content
All CollectionsUsing SubversionGetting Started
Connect an External SVN Repo to Assembla
Connect an External SVN Repo to Assembla
Toshi Dávila avatar
Written by Toshi Dávila
Updated over a month ago

You can connect your Assembla space to a Subversion (SVN) repository outside of Assembla to relate your code commits to Assembla tickets via your commit comments.

Reviewing requirements

Before connecting an external SVN repo to Assembla, review the following requirements:

  • The external SVN tool must exist in your Assembla space. Add the external SVN tool to your space using Admin > Tools, and configure it.

  • A post-commit hook must exist in your SVN repository. All of the popular Subversion repositories have this feature. This post-commit hook informs your servers when a changeset is committed, and the servers then parse the comment and relate it to the Assembla ticket. Install this hook if it does not already exist.

Connecting to your external SVN repository

To connect to your external SVN repository

  1. Go to the External Subversion tab and review the two Perl and Ruby scripts at the bottom of the page.

  2. Download either of those scripts.

  3. Open the script using a text editor, and replace tool_id and secret_key with the values provided in that same tab.

  4. Install the post-commit hook in your Subversion repository according to your software instructions.

You can use the same commit comments in the external SVN tool that you can use in Assembla's repositories to link commits to Assembla Tickets.

Notes:

  • Use "re #4" to link your commit to ticket number 4. "references", "refs" and "see" add a comment to the target ticket.

  • Use "closes #4" to close ticket 4. "closed", "close", "fix", "fixed", and "fixes" also close a ticket.

  • Use "test #4" to move a ticket to "ready for test" status.

  • To enter a time record in the Time tool, use "Time: 2h15m".


If you have any questions or need assistance, please email us at support@assembla.com.

Did this answer your question?