summaryrefslogtreecommitdiff
path: root/tool/merger.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-17 03:37:44 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-02-17 03:37:44 +0000
commit3b243514ffc9f185000f0051fa109b9c3b534b46 (patch)
tree2f7398af0fca7702785d94bdedd6ca9e1e543cb7 /tool/merger.rb
parent68262a2048d3253b279d990acdd403cdeaf5a83b (diff)
downloadruby-3b243514ffc9f185000f0051fa109b9c3b534b46.tar.gz
* tool/merger.rb: remove borders from the commit message which is used
when the commit doesn't change ChangeLog. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/merger.rb')
-rwxr-xr-xtool/merger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/merger.rb b/tool/merger.rb
index 6f82541e0d..ef24027452 100755
--- a/tool/merger.rb
+++ b/tool/merger.rb
@@ -153,7 +153,7 @@ else
if log_svn.empty?
log_svn = IO.popen %w'svn log ' + r + [q] do |f|
f.read
- end
+ end.sub(/\A-+\nr.*\n/, '').sub(/\n-+\n\z/, '').gsub(/^(?=\S)/, "\t")
end
a = %w'svn merge --accept=postpone' + r + [q]