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

ruby-changes:42348

From: naruse <ko1@a...>
Date: Wed, 30 Mar 2016 01:55:58 +0900 (JST)
Subject: [ruby-changes:42348] naruse:r54421 (trunk): * tool/redmine-backporter.rb: add given revision to current changests

naruse	2016-03-30 01:55:55 +0900 (Wed, 30 Mar 2016)

  New Revision: 54421

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

  Log:
    * tool/redmine-backporter.rb: add given revision to current changests
      on associating the revision to the related ticket.

  Modified files:
    trunk/ChangeLog
    trunk/tool/redmine-backporter.rb
Index: tool/redmine-backporter.rb
===================================================================
--- tool/redmine-backporter.rb	(revision 54420)
+++ tool/redmine-backporter.rb	(revision 54421)
@@ -406,7 +406,7 @@ eom https://github.com/ruby/ruby/blob/trunk/tool/redmine-backporter.rb#L406
 
   "rel" => proc{|args|
     # this feature requires custom redmine which allows add_related_issue API
-    raise CommandSyntaxError unless /\A(\d+)\z/ =~ args
+    raise CommandSyntaxError unless /\Ar?(\d+)\z/ =~ args
     unless @issue
       puts "ticket not selected"
       next
@@ -420,9 +420,10 @@ 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"
-        return
+        raise
       end
       puts res.body
+      @changesets << rev
       class << @changesets
         remove_method(:validated) rescue nil
       end
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54420)
+++ ChangeLog	(revision 54421)
@@ -1,3 +1,12 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Wed Mar 30 01:54:30 2016  NARUSE, Yui  <naruse@r...>
+
+	* tool/redmine-backporter.rb: add given revision to current changests
+	  on associating the revision to the related ticket.
+
+Wed Mar 30 01:53:17 2016  NARUSE, Yui  <naruse@r...>
+
+	* tool/merger.rb: update revision.h before merge.
+
 Tue Mar 29 19:33:54 2016  NARUSE, Yui  <naruse@r...>
 
 	* addr2line.c: define toupper for its use. fix r54391.

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

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