Subversion server

From SourceWiki
Revision as of 13:12, 21 December 2005 by Jprenaud (talk | contribs)
Jump to navigation Jump to search


The source server can be used to host your subversion reporitories.

Creating a repository

Contact JP Renaud or Gethin Williams to get a subversion account. For the sake of explanation, lt's call your project myproject and the login mylogin.

The repository will be accessible at the URL http://source.ggy.bris.ac.uk/subversion/myproject

Using the command line client

Importating data in your repository

If the data that you want to import into the repository is in the folder localfolder, you need to send the data inside this folder to the subversion repository. We recommend that you import your data into the trunk section of the repository. Using a trunk will allow you to branch and tag later on in your development. Read the Subversion pages for detailed information about this. The following command will do

svn import http://source.ggy.bris.ac.uk/subversion/myproject/trunk --user-name mylogin -m "Initial import. "

This will import the content of localfolder into the repository and will use "Initial import" as the log message.

Day to day work

To start working, you first need to checkout your repository:

svn checkout http://source.ggy.bris.ac.uk/subversion/myproject/trunk --user-name mylogin workingcopy

Read the Subversion pages to understand how to use the repository for your daily work.

Using TortoiseSVN on Windows

Other graphical interfaces

Using websvn

After importing data in your repository, you can browse it vi a web interface called WebSVN. On the source server, the WebSVN frontend is located at http://source.ggy.bris.ac.uk/websvn. You will be asked for your login information and the repositories to which you have access will be visible.

Changing login

The login information is cached and if for some reason you want to login as another user (myotherlogin), use the following URL: http://myotherlogin@source.ggy.bris.ac.uk/websvn