Main menu:

Blog search

Categories

January 2012
M T W T F S S
« Dec    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Tags

Blogroll

Integrating SVN and Mantis on WAMP

A superb blog article here:

http://alt-tag.com/blog/archives/2006/11/integrating-mantis-and-subversion/

describes how to integrate SVN and Mantis, however the post-commit hook is for linux.  To do this on windows:

post-commit.bat
SET REPOS=%1
SET REV=%2
SET TMP_LOG=%TEMP%.\svnfileTMP-%REV%
D:\<svnhome>\bin\svnlook log -r %REV% %REPOS%>%TMP_LOG% 

D:\<phphome>\php.exe -q D:\<mantishome>\core\checkin.php < %TMP_LOG%