New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Developers/SVN_QuickReference (diff) – NEMO

Changes between Version 26 and Version 27 of Developers/SVN_QuickReference


Ignore:
Timestamp:
2017-12-08T14:43:42+01:00 (6 years ago)
Author:
nicolasmartin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Developers/SVN_QuickReference

    v26 v27  
    55Last edited at '''[[Wikinfo(changed_ts)]]''' by '''[[Wikinfo(changed_by)]]''' 
    66 
    7 == How to get write permissions to the repository 
     7== Request write permissions to the repository 
    88 
    99First and foremost, if you don't already have a user account then you have to '''[/register create it]'''. 
     
    3535Follow the procedure described at wiki:Developers/DevelopingCodeChanges 
    3636 
    37 == How-to with SVN commands 
     37== Howtos with SVN 
    3838 
    39 === How to create a new routine 
     39=== Create a new routine 
    4040 
    4141Use the template source:trunk/NEMOGCM/NEMO/OPA_SRC/module_example \\ 
     
    4646}}} 
    4747 
    48 === How to make a branch 
     48=== Branch 
    4949 
    5050For branch naming conventions, see wiki:Developers/DevelopingCodeChanges 
     
    6464}}} 
    6565 
    66 === How to make a commit 
     66=== Commit 
    6767 
    6868Extract with svn+http protocol 
     
    9292* Close a ticket with the commit: `[fix #ticket_number]` 
    9393 
    94 === How to make a tag 
     94=== Tag 
    9595 
    9696{{{#!sh 
     
    100100}}} 
    101101 
    102 === How to make a merge 
     102=== Merge 
    103103 
    104104To get all changes from the revision 746 to the current one (HEAD) on a specific directory 
     
    111111}}} 
    112112 
    113 === How to make an update of a given file between 2 different branches e.g trunk and tags directories 
     113=== Update of a file between branches 
    114114 
    115115Suppose the downloaded NEMO directory corresponds to the tag nemo_v3 (i.e. from http://forge.ipsl.jussieu.fr/nemo/svn/tags/nemo_v3/NEMO); the current revision number of the file sbcssm.F90 is 1196. To get the new revision (which has been committed on the trunk http://forge.ipsl.jussieu.fr/nemo/svn/trunk/NEMO ) with the revision number 1214: 
     
    120120}}} 
    121121 
    122 === How to get information about the sources downloaded 
     122=== Information about the sources 
    123123 
    124124To get information such as the PATH/URL you are working on, .i.e. trunk, branches .. and so on 
     
    143143}}} 
    144144 
    145 === Switch from a branch to the trunk (your working copy was based on a given branch which has been moved to the trunk 
     145=== Switch from a branch to the trunk 
     146 
     147Your working copy was based on a given branch which has been moved to the trunk. 
    146148 
    147149{{{#!sh 
     
    151153Comments: takes some time and asks if conflicts 
    152154 
    153 === How to delete a branch 
     155=== Delete a branch 
    154156 
    155157{{{#!sh