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


Ignore:
Timestamp:
2017-12-01T14:49:39+01:00 (3 years ago)
Author:
nicolasmartin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Developers/SVN_Quick Reference

    v21 v22  
    2020== Document your developments before coding 
    2121 
    22 Follow the procedure described at [wiki:Developers/WorkingPractices] 
     22Follow the procedure described at wiki:Developers/DevelopingCodeChanges 
    2323 
    2424== How-to with SVN commands 
     
    3535=== How to make a branch 
    3636 
    37 For branch naming conventions, see wiki:Developers/WorkingPractices#Startthecoding 
     37For branch naming conventions, see wiki:Developers/DevelopingCodeChanges 
    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 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" 
    4141}}} 
    4242 
     
    4444 
    4545{{{#!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" 
     46svn 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" 
    4747}}} 
    4848 
     
    5252 
    5353{{{#!sh 
    54 svn co svn+ssh://"your_forge_login"@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/dev_001_SBC 
     54svn co svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets/nemo/svn/branches/dev_001_SBC 
    5555}}} 
    5656 
     
    5959{{{#!sh 
    6060# 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                     ) 
     61export SVN_EDITOR='your_favourite_editor' # for sh  and other related shells, interesting to include it in ~/.profile or ~/.bash_profile) 
     62setenv SVN_EDITOR='your_favourite_editor' # for csh  "    "      "      ""  ,      "      ""    "    "" "" ~/.login                     ) 
    6363# Commit and write the log message (ticket link #.... and so on) in your editor 
    6464svn ci 'files list' 
     
    7070 
    7171{{{#!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" 
     72svn 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" 
    7373}}} 
    7474 
     
    7979{{{#!sh 
    8080cd ./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 " 
     81svn 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 " 
    8282}}} 
    8383 
     
    112112 
    113113{{{#!sh 
    114 svn switch --relocate http://forge.ipsl.jussieu.fr svn+ssh://"your_forge_login"@forge.ipsl.jussieu.fr/ipsl/forge/projets 
     114svn switch --relocate http://forge.ipsl.jussieu.fr svn+ssh://'your_forge_login'@forge.ipsl.jussieu.fr/ipsl/forge/projets 
    115115}}} 
    116116 
     
    126126 
    127127{{{#!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" 
     128svn 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" 
    129129}}}