Table of Contents
To download ircaam in the directory ~/ircaam execute (with the appropriate login)
$svn co svn+ssh://YOUR_LOGIN@forge.ipsl.jussieu.fr/ipsl/forge/projets/ircaam/svn/trunk ~/ircaam
To update everything, go to the directory where you installed ircaam (for example ~/ircaam) and execute
$svn update
You can also specify ircaam when calling svn update, for example:
$svn update ~/ircaam
Or you can specify one or several files you want to update
$svn update ~/ircaam/src/*.m
To compare your version with the reference deposit as it was at the time you download (or updated) ircaam, execute:
$svn status
To compare your version with the latest version of the reference deposit, execute:
$svn status -u
Add a new file to ircaam
$svn addfile_name
For example, directly
$touch aaacreate aaaafile$ls -l aaa-rw-r--r-- 1 smasson lodyc 0 Oct 29 09:59 aaa$svn statuscheck your deposit,aaafile is signaled as unknown? aaa$svn add aaaaddaaafile to the svn depositA aaa$svn statuscheck thataaahas been add to the depositA aaa
$svn mkdirdirectory_name
For example:
$svn mkdir AAAcreate the directory and add it to the svn deposit in one unique commandA AAA
or
$mkdir AAAcreate the directory$svn statuscheck your deposit,AAAis signaled as unknown? AAA$svn add AAAadd it to the svn depositA AAA
Edit you file and add somewhere:
$Id$
Next execute the following svn command:
$svn propset svn:keywords IdYOUR_FILE_NAME
Next time you download/update you file, $Id$ will be automatically replaced by the version tag.
Commit all your changes with one command
$svn commit --usernameYOUR_LOGIN--message "A SHORT DESCRIPTION" ~/ircaam
or commit your change on one specific file (for example ~/ircaam/src/aaa)
$svn commit --usernameYOUR_LOGIN--message "A SHORT DESCRIPTION" ~/ircaam/src/aaa