Table of Contents
To download superbib in the directory ~/superbib
execute (with the appropriate login)
$
svn checkout svn+ssh://
YOUR_LOGIN
@forge.ipsl.jussieu.fr/ipsl/forge/projets/superbib/svn/trunk ~/superbib
To update everything, go to the directory where you installed superbib (for example ~/superbib
) and execute
$
svn update
You can also specify superbib when calling svn update, for example:
$
svn update ~/superbib
Or you can specify one or several files you want to update
$
svn update ~/superbib/src/*.m
To compare your version with the reference deposit as it was at the time you download (or updated) superbib, execute:
$
svn status
To compare your version with the latest version of the reference deposit, execute:
$
svn status -u
Add a new file to superbib
$
svn add
file_name
For example, directly
$
touch aaa
create aaaa
file$
ls -l aaa
-rw-r--r-- 1 smasson lodyc 0 Oct 29 09:59 aaa
$
svn status
check your deposit,aaa
file is signaled as unknown? aaa
$
svn add aaa
addaaa
file to the svn depositA aaa
$
svn status
check thataaa
has been add to the depositA aaa
$
svn mkdir
directory_name
For example:
$
svn mkdir AAA
create the directory and add it to the svn deposit in one unique commandA AAA
or
$
mkdir AAA
create the directory$
svn status
check your deposit,AAA
is signaled as unknown? AAA
$
svn add AAA
add it to the svn depositA AAA
Edit you file and add somewhere:
$Id$
Next execute the following svn command:
$
svn propset svn:keywords Id
YOUR_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 --username
YOUR_LOGIN
--message "A SHORT DESCRIPTION" ~/superbib
or commit your change on one specific file (for example ~/superbib/src/aaa
)
$
svn commit --username
YOUR_LOGIN
--message "A SHORT DESCRIPTION" ~/superbib/src/aaa