summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-03 07:55:57 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-03-03 07:55:57 +0000
commitd57a8fa590b6b64f64567b49576cf569473af1ed (patch)
tree29f3492db171d8fe3e13d75c545b7175a8e6d698
parentb5f8aec516533c32bfb296f8315ba2c64d4cf43e (diff)
* tool/redmine-backporter.rb: show selected ticket number at prompt.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rwxr-xr-xtool/redmine-backporter.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8bcc8b3..765937b 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 865c164..9ad7870 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