Changes between Version 22 and Version 23 of Developers/SVN_Quick Reference


Ignore:
Timestamp:
2017-12-01T15:07:07+01:00 (3 years ago)
Author:
nicolasmartin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Developers/SVN_Quick Reference

    v22 v23  
    3838 
    3939{{{#!sh 
    40 svn copy svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk svn+ssh://"your_forge_login"@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/dev_r1720_SBC -m "Create a specific branch for the New Surface Module" 
     40svn copy svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk                  \  
     41         svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/dev_r1720_SBC \ 
     42         -m 'Create a specific branch for the New Surface Module' 
    4143}}} 
    4244 
     
    4446 
    4547{{{#!sh 
    46 svn copy svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk svn+ssh://"your_forge_login"@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2011/dev_r1720_LOCEAN1_mpp -m "Create a specific branch  for mpp evolution" 
     48svn copy svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk                               \ 
     49         svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2011/dev_r1720_LOCEAN1_mpp \ 
     50         -m "Create a specific branch  for mpp evolution" 
    4751}}} 
    4852 
     
    5963{{{#!sh 
    6064# Tip: set your editor vi, vim, emacs, nano, ... 
    61 export SVN_EDITOR='your_favourite_editor' # for sh  and other related shells, interesting to include it in ~/.profile or ~/.bash_profile) 
    62 setenv SVN_EDITOR='your_favourite_editor' # for csh  "    "      "      ""  ,      "      ""    "    "" "" ~/.login                     ) 
     65# for sh  and other related shells, interesting to include it in ~/.profile or ~/.bash_profile) 
     66export SVN_EDITOR='your_favourite_editor'  
     67# for csh  "    "      "      ""  ,      "      ""    "    "" "" ~/.login                     ) 
     68setenv SVN_EDITOR='your_favourite_editor' 
    6369# Commit and write the log message (ticket link #.... and so on) in your editor 
    6470svn ci 'files list' 
     
    7076 
    7177{{{#!sh 
    72 svn copy svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk  svn+ssh://"your_forge_login"@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/tags/nemo_v2_3 -m "Tagging nemo_v2_3" 
     78svn copy svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk          \ 
     79         svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/tags/nemo_v2_3 \ 
     80         -m "Tagging nemo_v2_3" 
    7381}}} 
    7482 
     
    7886 
    7987{{{#!sh 
    80 cd ./NEMO/OPA_SRC/IOM # (you have already downloaded the branch you are working on) 
    81 svn merge -r 746:HEAD svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk/NEMO/OPA_SRC/IOM -m "Merge my local IOM directory with the trunk repository " 
     88# (you have already downloaded the branch you are working on) 
     89cd ./NEMO/OPA_SRC/IOM 
     90svn merge -r 746:HEAD -m 'Merge my local IOM directory with the trunk repository'                               \ 
     91          svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/trunk/NEMO/OPA_SRC/IOM \ 
    8292}}} 
    8393 
     
    96106 
    97107{{{#!sh 
    98 cd ./NEMO 
    99 svn info 
     108cd ./NEMO && svn info 
    100109}}} 
    101110 
     
    103112 
    104113{{{#!sh 
    105 cd ./NEMO 
    106 svn log --verbose --stop-on-copy 
     114cd ./NEMO && svn log --verbose --stop-on-copy 
    107115}}} 
    108116 
     
    112120 
    113121{{{#!sh 
    114 svn switch --relocate http://forge.ipsl.jussieu.fr svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets 
     122svn switch --relocate    http://forge.ipsl.jussieu.fr                                       \ 
     123                      svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets 
    115124}}} 
    116125 
     
    126135 
    127136{{{#!sh 
    128 svn del svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2016/dev_rxxx_branch_name  --message "Delete defunct branch" 
     137svn del svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/2016/dev_rxxx_branch_name \ 
     138        --message "Delete defunct branch" 
    129139}}}