I’ve experimented with keeping Magento under SVN for a few projects now, I’ve been using the following ignore list.
svn:ignore
media/catalog/product/cache
media/css
media/css_secure
media/js
includes (yes I will have to run compilation every time a there is a new release)
var
Now… My problem is that when you clear the image/css/js caches using cache management Magento also deletes the hidden .svn folders, this causes a ‘missing’ conflict. Is there any way around this? or easy way to resolve the issue?
I need to have the live release under version control so I can keep the client uploaded media files synced with the repository.
Remove
cachedirectory from the repository (can be done usingsvn rm [REPO_URL]/media/catalog/product/cachecommand) and the problem is gone. But note that you would still need to keep this dir under svn:ignore.