What is the easies way to use post commit hooks in visualsvn server to export from the repository to a directory for staging/testing after a developer commits his changes?
Will do the reading on Cruise Control integration with Subversion - first I've heard of it, though I do hate to throw yet another variable into the mix.
Looked at the VisualSVN link before posting the question, but it doesn't explain how to do anything with VisualSVNServerHooks.exe other than email notification. Can't help but wonder if that is the only feature VisualSVNServerHooks.exe supports, since I could not locate documentation of any other functionality with it on their site, docs, google groups, google search, etc.
Thanks for posting.
If you install the svn command line client you can write a simple post-commit hook script like this:
path\to\svn.exe export file:///%1/trunk path\to\where\you\want\to\export\to
I'm not sure whether the VisualSVN server commit hook dialog creates a bat file or just expects to run the command. If the first, the line above would be enough. If the latter, first create a bat file with the above line in it, then put cmd.exe /C path\to\your\batfile in the dialog.