Subversion Copy Hook on Windows

Posted by GeoSQL on Stack Overflow See other posts from Stack Overflow or by GeoSQL
Published on 2010-05-05T20:33:29Z Indexed on 2010/05/05 20:38 UTC
Read the original article Hit count: 147

Filed under:
|

Hi I am working on a web based project in my free time. I have SVN set up on my machine (running XP). What I would like to do is have a copy of my repository copied to the htdocs folder (Dev machine) post-commit via a hook. That way I can test my changes in a browser.

I know that I can write up a .bat file, but I'm not sure what the syntax would be. I can do a basic DOS Copy command, but I saw one example that provided a username and password to SVN at copy time. Do I need to do this?

Can someone point me in the right direction as far a syntax for the .bat file?

Or maybe even suggest a better method.

Thanks

© Stack Overflow or respective owner

Related posts about subversion

Related posts about windows-xp