From cef3b0a89072b96d7cad9e568778e01172d02c30 Mon Sep 17 00:00:00 2001 From: usa Date: Mon, 13 Apr 2015 08:25:34 +0000 Subject: [PATCH] * 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 --- tool/redmine-backporter.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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