View Issue Details

IDProjectCategoryView StatusLast Update
0006323mantisbtadministrationpublic2006-02-04 05:54
Reporterizhekov Assigned Toryandesign  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionduplicate 
Summary0006323: More CVS integration
Description

You have integration with CVS via loginfo and with CVSWeb also.
When committing files a bugnote is added to the issue. It's good in this bugnote a link to the CVSWeb to be added also.
I made this by modifying your checkin.php.
Lines marked with --> are lines added by me.
The result you can see in the images I attached.

Additional Information

<XMP>
--------------------- part of checkin.php ---------------------

--> $cnt = 0;
--> $cvs_root = "/var/lib/cvs/cvsroot";
while ( ( $t_line = fgets( STDIN, 1024 ) ) ) {
--> if ($cnt == 0) $cvs_path = substr(trim($t_line), 10 + strlen($cvs_root));
--> if ($cnt == 4) $cvs_file = trim($t_line);
--> $cnt++;
$t_comment .= $t_line;
if ( preg_match_all( $t_commit_regexp, $t_line, $t_matches ) ) {
for ( $i = 0; $i < count( $t_matches[0] ); ++$i ) {
$t_issues[] = $t_matches[1][$i];
}
}
}
--> $t_comment .= "\r\ncvs:" . $cvs_path . "/" . $cvs_file;


</XMP>

TagsNo tags attached.

Relationships

duplicate of 0006324 closeddhx More CVS integration 

Activities

izhekov

izhekov

2005-10-07 04:49

reporter   ~0011477

Sorry, this was made by mistake. The real issue is 6324.