In-Portal uses CKEditor as it's WYSIWYG editor. Over time we've upgraded it several times and since CKEditor developers just love to move folders around and delete them we'll ended up in lots of empty folder structures (e.g. deleted CKEditor plugins) while importing these changes into Subversion repository.
- create migration script (can be saved in "/tools/" to be reused later) that will delete empty folders. If a folder is detected, that only contains empty folders, then instead deleting them delete that (parent) folder.
- run script on the "/core/ckeditor/" folder
- commit the changes