Updated the repository type value for use with Redmine 2.x.
parent
b7ef1074f0
commit
34991bb44b
|
@ -290,7 +290,7 @@ sub RedmineRepositoryType {
|
||||||
my ($cfg, $parms, $arg) = @_;
|
my ($cfg, $parms, $arg) = @_;
|
||||||
$arg = trim($arg);
|
$arg = trim($arg);
|
||||||
if($arg eq 'Subversion' || $arg eq 'Git') {
|
if($arg eq 'Subversion' || $arg eq 'Git') {
|
||||||
$cfg->{RepositoryType} = $arg;
|
$cfg->{RepositoryType} = 'Repository::'.$arg;
|
||||||
} else {
|
} else {
|
||||||
die "Invalid RedmineRepositoryType value: $arg, choose either Subversion or Git !";
|
die "Invalid RedmineRepositoryType value: $arg, choose either Subversion or Git !";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue