Updated the repository type value for use with Redmine 2.x.

This commit is contained in:
Adirelle 2013-04-17 12:39:13 +02:00
parent b7ef1074f0
commit 34991bb44b

View File

@ -290,7 +290,7 @@ sub RedmineRepositoryType {
my ($cfg, $parms, $arg) = @_;
$arg = trim($arg);
if($arg eq 'Subversion' || $arg eq 'Git') {
$cfg->{RepositoryType} = $arg;
$cfg->{RepositoryType} = 'Repository::'.$arg;
} else {
die "Invalid RedmineRepositoryType value: $arg, choose either Subversion or Git !";
}