* 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
This commit is contained in:
parent
8d6fbbe862
commit
cef3b0a890
@ -422,7 +422,7 @@ eom
|
|||||||
},
|
},
|
||||||
|
|
||||||
"done" => proc{|args|
|
"done" => proc{|args|
|
||||||
raise CommandSyntaxError unless /\A(\d+)?(?: -- +(.*))?\z/ =~ args
|
raise CommandSyntaxError unless /\A(\d+)?(?:\s*-- +(.*))?\z/ =~ args
|
||||||
notes = $2
|
notes = $2
|
||||||
notes.strip! if notes
|
notes.strip! if notes
|
||||||
if $1
|
if $1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user