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.

1 Answer 1

2

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

Sign up to request clarification or add additional context in comments.

2 Comments

I was just going to type it :)
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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.