@@ -82,6 +82,15 and you will have to use this reposman.rb command line to create repository : | |||
|
82 | 82 | |
|
83 | 83 | reposman.rb --redmine my.redmine.server --svn-dir /var/svn --owner www-data -u http://svn.server/svn-private/ |
|
84 | 84 | |
|
85 | =head1 REPOSITORIES NAMING | |
|
86 | ||
|
87 | A projet repository must be named with the projet identifier. In case | |
|
88 | of multiple repositories for the same project, use the project identifier | |
|
89 | and the repository identifier separated with a dot: | |
|
90 | ||
|
91 | /var/svn/foo | |
|
92 | /var/svn/foo.otherrepo | |
|
93 | ||
|
85 | 94 | =head1 MIGRATION FROM OLDER RELEASES |
|
86 | 95 | |
|
87 | 96 | If you use an older reposman.rb (r860 or before), you need to change |
@@ -399,7 +408,7 sub get_project_identifier { | |||
|
399 | 408 | my $r = shift; |
|
400 | 409 | |
|
401 | 410 | my $location = $r->location; |
|
402 | my ($identifier) = $r->uri =~ m{$location/*([^/]+)}; | |
|
411 | my ($identifier) = $r->uri =~ m{$location/*([^/.]+)}; | |
|
403 | 412 | $identifier; |
|
404 | 413 | } |
|
405 | 414 |
General Comments 0
You need to be logged in to leave comments.
Login now