View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007143 | mantisbt | other | public | 2006-05-28 07:04 | 2007-05-08 03:44 |
Reporter | vboctor | Assigned To | vboctor | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.0.2 | ||||
Fixed in Version | 1.0.4 | ||||
Summary | 0007143: Port: checkin.php needs array_unique() | ||||
Description | if the log message contains e.g. "bug #408 fixed, blabla,bla bug #408 blaba, bla..." the log message will be added twice (or as often as #408 appears in the text (including the diff)). Adding * 66,71 **
to checkin.php prevents this. | ||||
Additional Information | My system: winxp, php 5.1.4. if you are interested in my post_commit.cmd, here it is: <pre>REM Post-commit hook for MantisBT integration svnlook author -r %REV% %REPOS% > %AUTH_FILE% echo ^<hr^>^<center^>^<h3^>Source Code Changes^</h3^>^</center^>^<hr^>^<b^>SVN Repository:^</b^> %REPOS% > %DETAILS_FILE% rem echo ^<hr^>^<b^>SVN Changed:^</b^> >> %DETAILS_FILE% svnlook diff --no-diff-deleted --no-diff-added -r %REV% %REPOS% >> %DETAILS_FILE% php.exe d:\b\php-mod\mantis\core\checkin.php < %DETAILS_FILE% >> %LOG_FILE% | ||||
Tags | No tags attached. | ||||