ruby-changes:43527
From: usa <ko1@a...>
Date: Thu, 7 Jul 2016 01:06:02 +0900 (JST)
Subject: [ruby-changes:43527] usa:r55600 (trunk): * tool/redmine-backporter.rb: fixed command alias bug.
usa 2016-07-07 01:05:57 +0900 (Thu, 07 Jul 2016) New Revision: 55600 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=55600 Log: * tool/redmine-backporter.rb: fixed command alias bug. Modified files: trunk/tool/redmine-backporter.rb Index: tool/redmine-backporter.rb =================================================================== --- tool/redmine-backporter.rb (revision 55599) +++ tool/redmine-backporter.rb (revision 55600) @@ -583,10 +583,10 @@ while true https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L583 args = cmd cmd = "show" end + cmd = list[cmd] if commands[cmd].is_a? String - cmd = list[cmd] + cmd = list[commands[cmd]] end - cmd = list[cmd] begin if cmd commands[cmd].call(args) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/