We're a small team and we're running subversion and apache on the same server.
We're curr开发者_如何学Pythonently facing a small problem: everyone saves their edits of our web application directly to the server, which means countless errors when we all work on the same class.
Now we're trying to solve this by letting the server use the files in subversion only, so that everyone can freely edit their files without breaking the application.
Any idea how I can do that?
by the way, we're running Apache on a Windows machine.
I am not fully sure if I understand the question correctly, so apologies if I misunderstood.
One way of accomplishing this could be to use a post-commit hook that does an export of the tree to the appropriate directory and restarts the server process (if and as needed).
精彩评论