Skip to content

Elefant

Sections
Personal tools
You are here: Home » Developer » SVN Repository

Accessing the SVN Repository

Repository access is recommended only for advanced users. Often the current repository might contain bugs or known inconsistencies. If you are interested only in using Elefant then we highly recommend downloading a stable release.

Read Only Access

In order to obtain read only access to the development repository use:

     $  svn co http://elefant.developer.nicta.com.au/local/repos/trunk elefant

To install Elefant refer to the install guide.

Developer Access

Developer access (read-write access) to the repository is by invitation only. Once we invite you to be a developer you first have to register yourself here. Once your registration is approved, you will receive a confirmation mail with detailed instructions.

The instructions below assume that you are using a UNIX system with a Bash or Zsh. Issue the following command for trunk:

       $ svn checkout svn+ssh://username@elefant.developer.nicta.com.au/export/repos/elefant/trunk/ elefant

Remember to replace username by your login ID on the machine! This will create a new directory called elefant in your current directory and check out the sources to that directory.

To stay up to date:

     $ cd elefant
     $ svn update

To find out what changes you have made, do this:

     $ svn status

Or, more verbosely:

      $ svn diff

To checkin from the command line use:

     $ svn commit -m "some comment string" filename.py

Most of the svn commands work from within sub directories also.

Emacs Users

If you use emacs then the psvn mode provides a comprehensive set of functions for working with subversion from within emacs.

Troubleshooting

  • First of all, check that you have subversion installed on your machine. To check that use:
        $ svn --version
    

and note down the version number it produces.

  • Next ensure that you have typed in the paths correctly!
  • Finally, send a mail to Christfried Webers (first.last@nicta.com.au) with details about your subversion version number, the exact commands you used and the error messages which were generated.
  • If you are a developer, you should upload your ssh public-key and check that you can login to elefant.developer.nicta.com.au without a password before proceeding to check out the repository. If you do not know what a SSH public key is send mail to Christfried. If you cannot login to the machine then you will not be able to access the repository!

Additional Links

If you want to find out more about subversion then the documentation can be found here.

Windows users might find the following link useful. A good client for subversion which integrates with the windows explorer is tortoisesvn.

Created by admin
Last modified 2008-07-10 11:05 PM