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

ruby-changes:42713

From: usa <ko1@a...>
Date: Tue, 26 Apr 2016 22:47:14 +0900 (JST)
Subject: [ruby-changes:42713] usa:r54787 (trunk): * tool/redmine-backporter.rb (rel): should not raise exceptions even if

usa	2016-04-26 23:43:50 +0900 (Tue, 26 Apr 2016)

  New Revision: 54787

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

  Log:
    * tool/redmine-backporter.rb (rel): should not raise exceptions even if
      the user input is wrong.  only reports the error and continue process.

  Modified files:
    trunk/ChangeLog
    trunk/tool/redmine-backporter.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54786)
+++ ChangeLog	(revision 54787)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Apr 26 23:42:30 2016  NAKAMURA Usaku  <usa@r...>
+
+	* tool/redmine-backporter.rb (rel): should not raise exceptions even if
+	  the user input is wrong.  only reports the error and continue process.
+
 Tue Apr 26 23:35:23 2016  Nobuyoshi Nakada  <nobu@r...>
 
 	* ruby.c (process_options): convert -e script to the encoding
Index: tool/redmine-backporter.rb
===================================================================
--- tool/redmine-backporter.rb	(revision 54786)
+++ tool/redmine-backporter.rb	(revision 54787)
@@ -420,7 +420,7 @@ eom https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L420
         res.value
       rescue
         $stderr.puts "deployed redmine doesn't have https://github.com/ruby/bugs.ruby-lang.org/commit/01fbba60d68cb916ddbccc8a8710e68c5217171d\nask naruse or hsbt"
-        raise
+        next
       end
       puts res.body
       @changesets << rev

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

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