Updated the repository type value for use with Redmine 2.x.
This commit is contained in:
1 parent
b7ef1074f0
commit
34991bb44b
1 file changed
+1
-1
+1
-1
@@ -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 !";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user