View Issue Details

IDProjectCategoryView StatusLast Update
0008210mantisbtbugtrackerpublic2010-09-19 03:11
Reporterstan666 Assigned Todhx  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionwon't fix 
PlatformLinux 2.6.14-2-k7-smpOSDebian LinuxOS Version3.1
Product Version1.0.7 
Summary0008210: Problem with svn-integration
Description

We experienced some problems with the svn-integration.

After adding an comment including the tasknumber via svn, the comment was added to the task referenced by the task-number (like it should) but also to the task with a tasknumber that equals the revision-number of the commited file.

Steps To Reproduce

commit a file via snv with a revision number equal to an existing task-number

Additional Information

Mantis config

$g_source_control_regexp = "/\s#(\d+):\s/i";
$g_source_control_fixed_regexp = "/\sfix|fixed|fixes\s#(\d+):\s/i";

SVN Hook

#!/bin/bash

REPOS="$1"
REV="$2"

auth=$(svnlook author -r $REV $REPOS)
changed=$(svnlook changed -r $REV $REPOS)
log=$(svnlook log -r $REV $REPOS)
n=$'\n'
/usr/bin/php -c /var/svn/bin/php.ini /var/www/vhosts/donbass-soft.com/subdomains
/bt/httpsdocs/core/checkin.php <<< "Changeset [${REV}] by $auth, $n$n$log$n$n$ch
anged"

TagsNo tags attached.

Relationships

related to 0011732 closeddhx Remove built-in source code integration support 

Activities

dhx

dhx

2010-03-31 04:16

reporter   ~0024953

Won't fix as this old source code integration support is being dropped in favour of using a more modern plugin approach with the SourceIntegration plugin.

Refer to 0011732 for more details and feedback.