Commit 44d54322 authored by tmaruyama's avatar tmaruyama

reposman: allow underscores in project identifiers (#1363)

git-svn-id: https://svn.redmine.org/redmine/trunk@9277 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 99831157
......@@ -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
......
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