summaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-03-27 14:01:23 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-03-27 14:01:23 +0000
commit5c9dd16295279b4d6131d13aaac8ed893fd982b2 (patch)
tree09e339a05bf26351837eec9d7b61b8e92ac8a575 /extra
parent274566f13b3a252298506c71e7b364007b177135 (diff)
downloadredmine-5c9dd16295279b4d6131d13aaac8ed893fd982b2.tar.gz
redmine-5c9dd16295279b4d6131d13aaac8ed893fd982b2.zip
reposman: allow underscores in project identifiers (#1363)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9277 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'extra')
-rwxr-xr-xextra/svn/reposman.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/svn/reposman.rb b/extra/svn/reposman.rb
index 6eb61b297..3eae905a8 100755
--- a/extra/svn/reposman.rb
+++ b/extra/svn/reposman.rb
@@ -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