title: How can I publish a subversion repository to a local IIS?
body: <p>At work, we have a windows server 2003 with IIS and Subversion installed. We use it to publish and test locally 
  our ASP.NET websites. Every programmer has Tortoise installed on his PC and can update/commit content to the server. Hosting the repositories is working fine.
  But the files kept in those repositories needs then to be copied to our local IIS (virtual directories). </p>
  
  <p>What is an easy way to publish those subversion repositories to our local IIS?</p>
  
  <p>Edit:<br />
  Thanks to <a href="https://stackoverflow.com/users/14312/puetzk">puetzk</a> I added a simple bat file that gets executed every time a commit occurs (check the <a href="http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html" rel="nofollow noreferrer">subversion documentation</a> about hooks). My bat file only contains: </p>
  
  <pre><code>echo off
  setlocal
  
  :: Localize the working copy where IIS points)
  pushd E:\wwwroot\yourapp\trunk
  :: Update your working copy
  svn update
  
  endlocal
  exit
  </code></pre>