Changes between Version 26 and Version 27 of Developers/SVN_QuickReference
- Timestamp:
- 2017-12-08T14:43:42+01:00 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Developers/SVN_QuickReference
v26 v27 5 5 Last edited at '''[[Wikinfo(changed_ts)]]''' by '''[[Wikinfo(changed_by)]]''' 6 6 7 == How to get write permissions to the repository7 == Request write permissions to the repository 8 8 9 9 First and foremost, if you don't already have a user account then you have to '''[/register create it]'''. … … 35 35 Follow the procedure described at wiki:Developers/DevelopingCodeChanges 36 36 37 == How -to with SVN commands37 == Howtos with SVN 38 38 39 === How to create a new routine39 === Create a new routine 40 40 41 41 Use the template source:trunk/NEMOGCM/NEMO/OPA_SRC/module_example \\ … … 46 46 }}} 47 47 48 === How to make a branch48 === Branch 49 49 50 50 For branch naming conventions, see wiki:Developers/DevelopingCodeChanges … … 64 64 }}} 65 65 66 === How to make a commit66 === Commit 67 67 68 68 Extract with svn+http protocol … … 92 92 * Close a ticket with the commit: `[fix #ticket_number]` 93 93 94 === How to make a tag94 === Tag 95 95 96 96 {{{#!sh … … 100 100 }}} 101 101 102 === How to make a merge102 === Merge 103 103 104 104 To get all changes from the revision 746 to the current one (HEAD) on a specific directory … … 111 111 }}} 112 112 113 === How to make an update of a given file between 2 different branches e.g trunk and tags directories113 === Update of a file between branches 114 114 115 115 Suppose 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: … … 120 120 }}} 121 121 122 === How to get information about the sources downloaded122 === Information about the sources 123 123 124 124 To get information such as the PATH/URL you are working on, .i.e. trunk, branches .. and so on … … 143 143 }}} 144 144 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 147 Your working copy was based on a given branch which has been moved to the trunk. 146 148 147 149 {{{#!sh … … 151 153 Comments: takes some time and asks if conflicts 152 154 153 === How to delete a branch155 === Delete a branch 154 156 155 157 {{{#!sh