[前][次][番号順一覧][スレッド一覧]

ruby-changes:37739

From: usa <ko1@a...>
Date: Tue, 3 Mar 2015 16:56:08 +0900 (JST)
Subject: [ruby-changes:37739] usa:r49820 (trunk): * tool/redmine-backporter.rb: show selected ticket number at prompt.

usa	2015-03-03 16:55:57 +0900 (Tue, 03 Mar 2015)

  New Revision: 49820

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49820

  Log:
    * tool/redmine-backporter.rb: show selected ticket number at prompt.

  Modified files:
    trunk/ChangeLog
    trunk/tool/redmine-backporter.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 49819)
+++ ChangeLog	(revision 49820)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Mar  3 16:55:23 2015  NAKAMURA Usaku  <usa@r...>
+
+	* tool/redmine-backporter.rb: show selected ticket number at prompt.
+
 Tue Mar  3 14:47:30 2015  Kazuki Tanaka  <gogotanaka@r...>
 
 	* math.c (num2dbl_with_to_f): direct casting from Rational to double.
Index: tool/redmine-backporter.rb
===================================================================
--- tool/redmine-backporter.rb	(revision 49819)
+++ tool/redmine-backporter.rb	(revision 49820)
@@ -319,7 +319,7 @@ puts "Backporter #{VERSION}".color(bold: https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L319
 @changesets = nil
 while true
   begin
-    l = Readline.readline '> '
+    l = Readline.readline "#{'#' + @issue.to_s if @issue}> "
   rescue Interrupt
     break
   end

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]