aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xtool/redmine-backporter.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8bcc8b3ff2..765937bfe7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Tue Mar 3 16:55:23 2015 NAKAMURA Usaku <usa@ruby-lang.org>
+
+ * tool/redmine-backporter.rb: show selected ticket number at prompt.
+
Tue Mar 3 14:47:30 2015 Kazuki Tanaka <gogotanaka@ruby-lang.org>
* math.c (num2dbl_with_to_f): direct casting from Rational to double.
diff --git a/tool/redmine-backporter.rb b/tool/redmine-backporter.rb
index 865c164103..9ad7870ca3 100755
--- a/tool/redmine-backporter.rb
+++ b/tool/redmine-backporter.rb
@@ -319,7 +319,7 @@ puts "Backporter #{VERSION}".color(bold: true) + " for #{TARGET_VERSION}"
@changesets = nil
while true
begin
- l = Readline.readline '> '
+ l = Readline.readline "#{'#' + @issue.to_s if @issue}> "
rescue Interrupt
break
end