Mantis Source Control Integration is a pain

In NetMRG's bugtracker, I always thought it'd be nice to have a comment every time a commit to a bug was made. That way everyone involved would know when changes were being made, and what changes. Luckily, Mantis allows for this via its Source Control Integration.

If only it were that easy.

To make a long story short; whenever you start a project like this - use a separate CVSROOT - it will make your life much easier.

My loginfo

netmrg /usr/bin/php -q /path/to/mantisbt/core/checkin.phpALL    /usr/local/bin/syncmail -S "NetMRG-CVS: " -R return@addr --quiet %%s to@addr

My mantisbt config_inc.php

$g_source_control_notes_view_status = VS_PUBLIC;$g_source_control_account           = 'netmrgcvs';$g_source_control_set_status_to     = OFF;$g_source_control_regexp = "/bug\s*[#]{0,1}(\d+)/i";