tags:

views:

46

answers:

1

I have svn repository and virtual hosts set up on same linux server. Whenever the developers commit the changes, I want the site files(files at webroot) too get updated at the same time. The files at webroot is not a svn working copy. I was able to update another svn working copy using post commit hook, but dont know how to update another non-svn folder.

+2  A: 

You can perform an svn export from a post-commit hook.

Jordan Ryan Moore
I was just going to type it :)
Azlam
Thanks..I tried with it..but "export" copy entire tree to the target. I need to copy only the files that updated during each commit through a hook.otherwise it wouldnt be practical for large repositories.