Subversion post commit hook checkout to website document root
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?
Use svn update instead of svn checkout
Make sure that you have Apache setup to ignore svn files
Check more discussion of this question.
Related posts:
- Subversion post commit hook checkout to website document root
- Subversion multi checkout post-commit hook?
- How do I restrict a post-commit hook?
- SVN trac post-commit hooks work when using checkout from real path, not via symlink or rebased path
- gitolite post commit hook to update redmine’s repository
Leave a comment
Recent Posts
- SCP transfer only modified files
- How can I automate clearing and resetting a Linux user’s home directory to a default?
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
Tags
active-directory
amazon-ec2
apache
apache2
backup
bash
centos
cisco
command-line
debian
dns
email
exchange
firewall
iis
iis7
iptables
linux
macosx
monitoring
mysql
networking
nginx
performance
permissions
php
postfix
raid
security
sql-server
sql-server-2005
sql-server-2008
ssh
ssl
ubuntu
unix
virtualization
vpn
webserver
windows
windows-7
windows-server-2003
windows-server-2008
windows-server-2008-r2
windows-xp





