I am trying to have a folder be checked in, so that when I export from SVN it gets created as part of the exported file hierarchy, so that it will be there for an app (beyond my control) to dump files into. However, I never want its contents to be checked in. How do I have SVN ‘track’ the folder but ignore its contents?
I’m using TortoiseSVN on win32.
At the level of that folder, you can add an svn:ignore attribute for * (AKA, ignore everything beneath that folder). That way, developers can check out the folder, but anything they put into it won’t be checked back into your repository.
In order to do this in Tortoise SVN:
Right click on the folder > Tortoise SVN > Properties > New…
Set the property name to svn:ignore and the value to *. Apply the property recursively.