summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-13 08:25:34 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-13 08:25:34 +0000
commitcef3b0a89072b96d7cad9e568778e01172d02c30 (patch)
treeb9e99ef9adf39c87652956bdee6871f39b3eb171
parent8d6fbbe862ed010a8981fbd2b8440fcf9178c858 (diff)
downloadruby-cef3b0a89072b96d7cad9e568778e01172d02c30.tar.gz
* tool/redmine-backporter.rb (done): fixed a bug that cannot specify the note
without the ticket number. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rwxr-xr-xtool/redmine-backporter.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb
index 4c5476fa7d..1b25cd3e4f 100755
--- a/tool/redmine-backporter.rb
+++ b/tool/redmine-backporter.rb
@@ -422,7 +422,7 @@ eom
},
"done" => proc{|args|
- raise CommandSyntaxError unless /\A(\d+)?(?: -- +(.*))?\z/ =~ args
+ raise CommandSyntaxError unless /\A(\d+)?(?:\s*-- +(.*))?\z/ =~ args
notes = $2
notes.strip! if notes
if $1