Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have Subversion running on our Debian development server.

We have setup a post-commit hook to checkout the contents of the repository to /var/www/ourwebsite

There are about 2GB worth of files and each checkout takes about 10-15 minutes.

If we are simply changing a couple lines of code, it will continually keep copying files over and over, I dont think this is the right approach.

Any help?

share|improve this question
up vote 2 down vote accepted

Use svn update instead of svn checkout

Make sure that you have Apache setup to ignore svn files

share|improve this answer
+1. for the same task, I do updates and do it locally using a production working copy first obtained by svn co file:///repo/path – theist Sep 7 '10 at 6:01

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.