I have a SVN repository running on my Windows 2008 server. It has 2 apps in it right now, lets call them App1 and App2. I want to copy the committed files for the apps to another place on the server, one for each app. I want to do that after the commit, so I think the post-commit hook is the one to use?
How do I know which app got new files and how would the copy command look? Files for App1 have to go to c:\app1 for example, files for App2 to c:\app2.
Thanks for your help :).
Your best bet is to have a checked out working copy of your repository on the server in some path and in the
post-commitas you rightly mentioned, just do ansvn updateon the checked out working copy.