General Introduction to Subversion

You can read a comprehensive general introduction in the online book Version Control with Subversion.

Checking out LooPo from the Repository

To checkout the modules loopo (or hsloopo) from the Subversion repository, use

svn checkout --no-auth-cache --username USER

where USER is your Trac user account. The option --no-auth-cache prevents subversion from storing the password in ~/.subversion in plain text.

Checking out LooPo without SVN metadata

To checkout loopo from SVN without generating .svn metadata use

svn export --no-auth-cache --username USER

Note: this is only usefull for packaging up loopo for external distribution as you cannot commit from a directory without .svn metadata.

Committing to the Repository

Use svn commit in your checkout to commit to the repository. In the commit message you can use the following annotations to trigger an action in Trac's ticket system:

The commit hook searches commit messages for text in the form of:

command #1
command #1, #2
command #1 & #2
command #1 and #2

You can have more then one command in a message. The following commands are supported. There is more then one spelling for each command, to make this as user-friendly as possible.

closes, fixes

The specified issue numbers are closed with the contents of this commit message being added to it.

references, refs, addresses, re

The specified issue numbers are left in their current status, but the contents of this commit message are added to their notes.

A fairly complicated example of what you can do is with a commit message of:

Changed blah and foo to do this or that. Fixes #10 and #12, and refs #12.

This will close #10 and #12, and add a note to #12.

Last modified 3 years ago Last modified on Jan 21, 2015 9:05:38 AM