How can I prevent subversion from updating without making any changes due to IIS recompiling the website?
For my staging site, I have a subversion repository that I update when I need to view changes on the staging server. Instead of manually updating the staging server's subversion folder every few minutes when I need to check something, I have a script that automatically checks for any subversion updates. My problem is that every time an update is checked, even if there is no change, I think the subversion might be modifying some files in the .svn folders on the site, and this forces IIS to recompile the website, which takes 40 seconds. If no code changes occur, then I don't want IIS to recompile the website. Does anyone know a good way to fix this so that the site only recompiles the code changes and not after every check for updates?
source to share
Your solution is probably in your question: Don't let IIS browse the .svn folders. No idea here, but IIS should have a setting somewhere to exclude certain directories from being scanned for changed files. Maybe tag the .svn folders with a hidden file attribute?
Google provides this forum as a place to inquire about IIS configuration issues:
http://forums.iis.net/1034.aspx?PageIndex=18&forumoptions=0:1:11 ::
source to share
See the subversion FAQ: "I manage the site in my repository. How can I automatically update the site after every commit?"
You can also try adjusting the Use Commit Time option. See the Subversion book for details: http://svnbook.red-bean.com/en/1.5/svn.advanced.confarea.html#svn.advanced.confarea.opts.config
source to share