| 19 | * 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 : |
| 20 | {{{ |
| 21 | svn rm --force template_name.tpl |
| 22 | }}} |
| 23 | * 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 command : |
| 24 | {{{ |
| 25 | svn add template_name.tpl |
| 26 | }}} |
| 27 | |
| 28 | 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 : |
| 29 | {{{ |
| 30 | rm `svn status | grep '^\?' | awk '{print $2}'` |
| 31 | }}} |
| 32 | |
| 33 | When there is no more templates flagged as `!` (missing) or `?` (unknown), you can commit your changes to the repository. Please, take care of setting up a useful message for the commit as this is the only source for a ChangeLog... |
| 34 | |
| 35 | After committing your changes, if you think they are worth a new 'release', refer to the documentation about [wiki:Development/RelTagging] tagging] a new release. |
| 36 | |