Version 1 (modified by rblod, 11 years ago) (diff)

Working with SVN and tickets

Last edited Timestamp?

How to get permissions

Send a request once for all to Rachid with your nemo website user name

How to make a branche

svn copy svn+ssh:// svn+ssh:// -m "Create a specific branch for the New Surface Module"

How to make a commit

Extract with svn+http protocol

svn co svn+ssh://

Then in the appropriate directory : export SVN_EDITOR=vi (ksh, bash, to put in .profile or .bash_profile) or setenv SVN_EDITOR vi (tsch, to put in .login)

svn ci  -m [ "bla bla ...., see ticket:# ] [ files list ]

How to make a tag

svn copy svn+ssh://  svn+ssh:// -m "Tagging nemo_v2_3"

How to make a merge

To get all changes from the revision 746 to the current one (HEAD) on a specific directory

cd ./NEMO/OPA_SRC/IOM (you already downloaded the branche you are working on)
svn merge -r 746:HEAD svn+ssh:// -m "Merge my local IOM directory with the trunk repository "

How to make an update of a given file between 2 different branches e.g trunk and tags directories

Suppose the downloaded NEMO directory corresponds to the tag nemo_v3 (i.e. from; the current revision number of the file sbcssm.F90 is 1196. To get the new revision (which has been committed on the trunk ) with the revision number 1214:

cd ./modeles/NEMO/OPA_SRC/SBC/
svn merge -r 1196:1214

How to get information about the sources downloaded

To get information such as the PATH/URL you are working on, .i.e. trunk, branches .. and so on

cd ./NEMO
svn info

To get all commits/revision performed/associated on/to your working repository since its creation

cd ./NEMO
svn log --verbose --stop-on-copy

Switch from user to developer

svn switch --relocate svn+ssh://