How to export revision on commit with a post-commit hook?
问题 It may be handy to export the specific Subversion repository branch after a commit, using a post-commit hook. E.g. to update a website after a commit or to update a development branch for testing. Is there any instruction or sample of such a hook? 回答1: The best choice for writing a hook script for Subversion in Windows environment (e.g. VisualSVN Server) is to use Windows PowerShell scripting language or good ol' Windows batch command-line. Here is the sample code of post-commit.bat and post