Files no longer in document are not deleted from trunk
Status: Beta
Brought to you by:
edholness
On committing a document, only the internal files of the document should be committed. Currently there is no method to automatically delete all files no longer in the document so older files could be committed into subversion.
What is needed is to delete all files in the documents working directory recursively, except for .svn directories.
A current workaround that is used is to delete the Pictures/ directory before extracting the document as this is the directory most likely to have files coming and going and is most likely to have a big disk footprint.
This bug is not dangerous at all and any extra files will be disregarded and stripped by OOo but it may lead to unnecessarily bloated files.
Perhaps "find . -not -path "*/.svn/*" -and -type f -and -delete '{}' \;" would work before the file is extracted?