* tool/redmine-backporter.rb: use 'b' instead of 's' for showing

Backport options for merger.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
usa 2015-03-03 07:58:39 +00:00
Родитель d57a8fa590
Коммит 41eb94d4b4
2 изменённых файлов: 8 добавлений и 3 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Tue Mar 3 16:57:39 2015 NAKAMURA Usaku <usa@ruby-lang.org>
* tool/redmine-backporter.rb: use 'b' instead of 's' for showing
Backport options for merger.rb.
Tue Mar 3 16:55:23 2015 NAKAMURA Usaku <usa@ruby-lang.org>
* tool/redmine-backporter.rb: show selected ticket number at prompt.

Просмотреть файл

@ -392,7 +392,7 @@ eom
puts res.body
end
when 's'
when 'b'
# this feature implies backport command which wraps tool/merger.rb
unless @issue
puts "ticket not selected"
@ -502,8 +502,8 @@ eom
exit
when 'help'
puts 'ls [PAGE] '.color(bold: true) + ' show all required tickets'
puts 'show TICKET '.color(bold: true) + ' show the detail of the TICKET, and select it'
puts 'TICKET '.color(bold: true) + ' show the backport option of the TICKET for merger.rb'
puts '[show] TICKET '.color(bold: true) + ' show the detail of the TICKET, and select it'
puts 'b '.color(bold: true) + ' show the backport option of selected ticket for merger.rb'
puts 'rel REVISION '.color(bold: true) + ' add the selected ticket as related to the REVISION'
puts 'done [TICKET] [-- NOTE]'.color(bold: true) + ' set Backport field of the TICKET to DONE'
puts 'close [TICKET] '.color(bold: true) + ' close the TICKET'