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 38 and Version 39 of Developers/SVN_QuickReference


Ignore:
Timestamp:
2018-06-05T01:11:33+02:00 (6 years ago)
Author:
nicolasmartin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Developers/SVN_QuickReference

    v38 v39  
    4545}}} 
    4646 
    47 If the `svn:keywords` property is not defined, don't forget to set it in order to get the functionality of `$Id` keyword replacement with the commit informations 
    48  
    49 {{{#!sh 
    50 svn pset svn:keywords Id 'path/to/the'/new_routine.f90 
    51 }}} 
    52  
    5347=== Add a new file / Remove a file 
    5448 
    5549{{{#!sh 
    56 svn add  
    57 svn del  
     50svn add 'Path/to/the/file/to/add' 
     51svn del 'Path/to/the/file/to/delete' 
    5852}}} 
    5953 
     
    6660svn merge -r 1196:1214 http://forge.ipsl.jussieu.fr/nemo/svn/trunk/NEMO/OPA_SRC/SBC/sbcssm.F90 
    6761}}} 
     62 
     63== Manage versioned properties 
     64 
     65=== `svn:keywords` for commit infos 
     66 
     67If the `svn:keywords` property is not defined on a NEMO routine, set it in order to get the functionality of `$Id` keyword replacement in all committed files with the commit informations (URL, author, date and revision) 
     68 
     69{{{#!sh 
     70svn pset svn:keywords Id 'path/to/the'/new_routine.'{f90, F90, h90, sh}' 
     71}}} 
     72 
     73=== `svn:mime-type` for syntax highlighting 
     74 
     75Most of versioned files \\ 
     76If you want to apply a specific  
     77 
     78=== `svn:executable` for scripts 
     79 
     80{{{#!sh 
     81svn pset svn:executable 'path/to/the/script'.sh 
     82}}} 
     83 
     84{{{#!sh 
     85svn pdel svn:executable 'path/to/the/script'.sh 
     86}}} 
     87 
     88 
     89=== `svn:externals` for  
     90 
    6891 
    6992== Merging