Changes between Version 15 and Version 16 of Obsolete/Development/Templates/RepUpdate
- Timestamp:
- Jun 8, 2010, 4:26:24 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Obsolete/Development/Templates/RepUpdate
v15 v16 48 48 * 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 : 49 49 {{{ 50 # To remove template template_name.tpl 50 51 svn rm --force template_name.tpl 52 # To remove all templates no longer present in the repository 53 svn rm `svn status | grep '^\!' | awk '{print $2}'` 51 54 }}} 52 55 * 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 : … … 61 64 When 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 : 62 65 {{{ 63 svn rm `svn status | grep '^\!' | awk '{print $2}'`66 rm -f `svn status | grep '^\?' | awk '{print $2}'` 64 67 }}} 65 68