aboutsummaryrefslogtreecommitdiffstats
path: root/tool/vcs.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-18 01:55:55 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-12-18 01:55:55 +0000
commit3a7ef5d774f5d9a7f31688686cc21744ac83c9fc (patch)
tree95fd88bbfdefc964f726171e68ad1e29242c598a /tool/vcs.rb
parent1327785347da173af9154cde49c19667d1b1647e (diff)
downloadruby-3a7ef5d774f5d9a7f31688686cc21744ac83c9fc.tar.gz
vcs.rb: --add-author-from option
From: Nobuyoshi Nakada <nobu@ruby-lang.org> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r--tool/vcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index a5928a415e..6bb23039ff 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -469,7 +469,7 @@ class VCS
def commit
rev = cmd_read(%W"#{COMMAND} svn info"+[STDERR=>[:child, :out]])[/^Last Changed Rev: (\d+)/, 1]
- ret = system(COMMAND, "svn", "dcommit")
+ ret = system(COMMAND, "svn", "dcommit", "--add-author-from")
if ret and rev
old = [cmd_read(%W"#{COMMAND} log -1 --format=%H").chomp]
old << cmd_read(%W"#{COMMAND} svn reset -r#{rev}")[/^r#{rev} = (\h+)/, 1]