Changes between Version 15 and Version 16 of Obsolete/Development/Templates/RepUpdate


Ignore:
Timestamp:
Jun 8, 2010, 4:26:24 PM (14 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Obsolete/Development/Templates/RepUpdate

    v15 v16  
    4848 * Else, if the template existed in the repository but is no longer present in the workspace (flagged `!` by `svn status`), it can be safely removed from the repository with command :
    4949{{{
     50# To remove template template_name.tpl
    5051svn rm --force template_name.tpl
     52# To remove all templates no longer present in the repository
     53svn rm `svn status | grep '^\!' | awk '{print $2}'`
    5154}}}
    5255 * Else, if the template is present in the workspace but not registered into the repository ((flagged `?` by `svn status`) and this is a new template, it should be added to the repository with one of theses commands :
     
    6164When you have cleaned up the situation for all the templates, except those that are present in the workspace (because they are used in your local Quattor configuration) but don't need to be in the repository, you can do the final cleanup with :
    6265{{{
    63 svn rm `svn status | grep '^\!' | awk '{print $2}'`
     66rm -f `svn status | grep '^\?' | awk '{print $2}'`
    6467}}}
    6568