GitLab steht aufgrund wichtiger Wartungsarbeiten am Montag, den 8. März, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit bb53bdf1 authored by jplang's avatar jplang

Makes Redmine.pm work with multiple repositories per project (#779).

git-svn-id: https://svn.redmine.org/redmine/trunk@9256 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent ba7b5351
......@@ -82,6 +82,15 @@ and you will have to use this reposman.rb command line to create repository :
reposman.rb --redmine my.redmine.server --svn-dir /var/svn --owner www-data -u http://svn.server/svn-private/
=head1 REPOSITORIES NAMING
A projet repository must be named with the projet identifier. In case
of multiple repositories for the same project, use the project identifier
and the repository identifier separated with a dot:
/var/svn/foo
/var/svn/foo.otherrepo
=head1 MIGRATION FROM OLDER RELEASES
If you use an older reposman.rb (r860 or before), you need to change
......@@ -399,7 +408,7 @@ sub get_project_identifier {
my $r = shift;
my $location = $r->location;
my ($identifier) = $r->uri =~ m{$location/*([^/]+)};
my ($identifier) = $r->uri =~ m{$location/*([^/.]+)};
$identifier;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment