ruby-changes:47708
From: nobu <ko1@a...>
Date: Sun, 10 Sep 2017 21:35:11 +0900 (JST)
Subject: [ruby-changes:47708] nobu:r59824 (trunk): merger.rb: separate logs
nobu 2017-09-10 21:35:06 +0900 (Sun, 10 Sep 2017) New Revision: 59824 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59824 Log: merger.rb: separate logs * tool/merger.rb: separate each commit logs by an empty line. Modified files: trunk/tool/merger.rb Index: tool/merger.rb =================================================================== --- tool/merger.rb (revision 59823) +++ tool/merger.rb (revision 59824) @@ -217,7 +217,7 @@ else https://github.com/ruby/ruby/blob/trunk/tool/merger.rb#L217 if l.empty? l = IO.popen %w'svn log ' + r + [q] do |f| f.read - end.sub(/\A-+\nr.*\n/, '').sub(/\n-+\n\z/, '').gsub(/^./, "\t\\&") + end.sub(/\A-+\nr.*/, '').sub(/\n-+\n\z/, '').gsub(/^./, "\t\\&") end log_svn << l @@ -247,7 +247,7 @@ else https://github.com/ruby/ruby/blob/trunk/tool/merger.rb#L247 version_up f = Tempfile.new 'merger.rb' - f.printf "merge revision(s) %s:%s\n", revstr, tickets + f.printf "merge revision(s) %s:%s", revstr, tickets f.write log_svn f.flush f.close -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/