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

ruby-changes:42603

From: usa <ko1@a...>
Date: Fri, 22 Apr 2016 13:55:52 +0900 (JST)
Subject: [ruby-changes:42603] usa:r54677 (trunk): * tool/merger.rb: remove temporary file.

usa	2016-04-22 14:52:30 +0900 (Fri, 22 Apr 2016)

  New Revision: 54677

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

  Log:
    * tool/merger.rb: remove temporary file.

  Modified files:
    trunk/ChangeLog
    trunk/tool/merger.rb
Index: tool/merger.rb
===================================================================
--- tool/merger.rb	(revision 54676)
+++ tool/merger.rb	(revision 54677)
@@ -5,6 +5,7 @@ exec "${RUBY-ruby}" "-x" "$0" "$@" && [ https://github.com/ruby/ruby/blob/trunk/tool/merger.rb#L5
 # This needs ruby 1.9 and subversion.
 # run this in a repository to commit.
 
+require 'fileutils'
 require 'tempfile'
 
 $repos = 'svn+ssh://svn@c.../ruby/'
@@ -169,6 +170,7 @@ else https://github.com/ruby/ruby/blob/trunk/tool/merger.rb#L170
   system 'svn up'
   system 'ruby tool/file2lastrev.rb --revision.h . > revision.tmp'
   system 'tool/ifchange "--timestamp=.revision.time" "revision.h" "revision.tmp"'
+  FileUtils.rm('revision.tmp')
 
   case ARGV[0]
   when /--ticket=(.*)/
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 54676)
+++ ChangeLog	(revision 54677)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Apr 22 14:52:04 2016  NAKAMURA Usaku  <usa@r...>
+
+	* tool/merger.rb: remove temporary file.
+
 Fri Apr 22 11:27:03 2016  SHIBATA Hiroshi  <hsbt@r...>
 
 	* lib/net/http.rb: Improve documentation for SSL requests via GET method.

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

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