I am using Windows Apache, MySQL, VisualSVN server and the TortoiseSVN client.
We have a multi-system environment. I have a working copy (root directory folder) of my website which is working to serve as live.
There are various users regularly committing changes to the website to the SVN server but these commits are not updated on the live website working copy.
I am looking for the exact process to be followed to implement a post-commit hook to auto-update the live website working copy. What do I need to do to implement this?
You description is not sufficient (yet). So I describe something that could possibly work (I don't like it ...).
svn-web
.svn-web
is served by apache, and try to hide the directorysvn-web/.svn
, so that it is not visible to the users through the browser. Or serve only a sub-directory ofsvn-web
by Apache, sosvn-web/.svn
is hidden automatically.cd svn-web; svn update .
Then the following will happen:
svn-web
locally.Why I don't like it?