@AlainD
Hope you can help me as you seem to be answering most member queries in this category.
I am new to both Mantis and SVN, but I have begun to investigate how I can integrate the two so my developer colleagues can key their Mantis number at commit stage.
So far I have installed both Mantis1.3.3 and TortoiseSVN1.8.7 onto my Windows laptop. Xampp 3.2.2 is facilitating my Mantis.
Bugtraq properties have been set as follows:
bugtraq:append false
bugtraq:label Bug ID
bugtraq:message Bug ID: %BUGID%
bugtraq:url
http://localhost/Mantis/view.php?id=%BUGID%
bugtraq:warnifnoissue true
What I think I need assistance with is the post-commit hook, given my use of TortoiseSVN rather than any web derivative what are the syntax ammendments, this is what I have pulled from previous posts:
@ECHO OFF
SETLOCAL
set REPOS="SVNrepo"
set REV=%2
set CHECKINURL="
http://localhost/mantis/plugin.php?page=Source/checkin"
C:\server\curl.exe -d "repo_name=%REPOS%" -d "data=%REV%" -d "api_key=1" %CHECKINURL%
What I am unclear on is the final line "C:\server\curl.exe -d "repo_name=%REPOS%" -d "data=%REV%" -d "api_key=1" %CHECKINURL%"
Can it be done? Is there something else I have missed?
Can you help me?
Regards
antonyh