reposman: allow underscores in project identifiers (#1363)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9277 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-03-27 14:01:23 +00:00
parent 274566f13b
commit 5c9dd16295
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ projects.each do |project|
if project.identifier.empty? if project.identifier.empty?
log("\tno identifier for project #{project.name}") log("\tno identifier for project #{project.name}")
next next
elsif not project.identifier.match(/^[a-z0-9\-]+$/) elsif not project.identifier.match(/^[a-z0-9\-_]+$/)
log("\tinvalid identifier for project #{project.name} : #{project.identifier}"); log("\tinvalid identifier for project #{project.name} : #{project.identifier}");
next; next;
end end