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

ruby-changes:38232

From: usa <ko1@a...>
Date: Tue, 14 Apr 2015 16:05:54 +0900 (JST)
Subject: [ruby-changes:38232] usa:r50313 (trunk): * tool/merger.rb (versionup): should also increment revision when

usa	2015-04-14 16:05:30 +0900 (Tue, 14 Apr 2015)

  New Revision: 50313

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

  Log:
    * tool/merger.rb (versionup): should also increment revision when
      changing teeny.

  Modified files:
    trunk/ChangeLog
    trunk/tool/merger.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50312)
+++ ChangeLog	(revision 50313)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Apr 14 16:03:49 2015  NAKAMURA Usaku  <usa@r...>
+
+	* tool/merger.rb (versionup): should also increment revision when
+	  changing teeny.
+
 Tue Apr 14 11:24:56 2015  Nobuyoshi Nakada  <nobu@r...>
 
 	* ext/-test-/printf/printf.c (uint_to_str): renamed to get rid of
Index: tool/merger.rb
===================================================================
--- tool/merger.rb	(revision 50312)
+++ tool/merger.rb	(revision 50313)
@@ -79,10 +79,10 @@ def version_up(inc=nil) https://github.com/ruby/ruby/blob/trunk/tool/merger.rb#L79
 
   if inc == :teeny
     v[2].succ!
-  else # patchlevel
-    if pl != "-1"
-      pl.succ!
-    end
+  end
+  # patchlevel
+  if pl != "-1"
+    pl.succ!
   end
 
   str = open 'version.h', 'rb' do |f| f.read end

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

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