CVS integration allows Mantis to register commits to the CVS source control system into corresponding bug notes in the issue tracker.The setup requires that the mantis installation be accessible on the computer running the CVS server. A copy of the Mantis config_inc.php file must be present.Note that the mysql database also needs to be accessible from the cvs machine. That is, "localhost" for $g_hostname won't work unless CVS and Mantis are hosted on the same machine.To activate the integration, the following line to the cvs "commitinfo" file. (Instructions to edit this file are in any number of CVS primers). ALL /usr/bin/php /path_to_mantis/core/checkin.php This will pass the commit message to checkin.php for all commits. If the stringissue #nnnn is found in the commit message, the Mantis corresponding to "nnnn" will have the CVS commit message added as a bug note to the issue. Multiple issues can be listed.This feature is configured through config_inc.php and through custom functions.
See also: Source Control Integration for configuration, and Custom Functions