You can do svn export in your www directory. This will give you a βcleanβ version of your repo without .svn directories.
cd /var/www svn export /home/administrator/MyProject/trunk MyProject
Edit: adding some great ideas from the comments ...
Some options when you want to update the exported copy:
- run
svn export --force /home/...../ MyProject will stop it, complaining about overwriting existing files. This method will mean that if you delete the file from your repository, it will still remain in your www folder. - change the SVN command to export to a new directory every time:
svn export /home/..../ MyProject_20081105
and then create a symbolic link to this folder:
ln -s MyProject_20081105 MyProject
Just delete and recreate the symbolic link every time you "free". In this case, the export directory does not have to be in the www folder.
nickf source share