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:
parent
274566f13b
commit
5c9dd16295
|
@ -253,7 +253,7 @@ projects.each do |project|
|
|||
if project.identifier.empty?
|
||||
log("\tno identifier for project #{project.name}")
|
||||
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}");
|
||||
next;
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue