ruby-changes:49194
From: nobu <ko1@a...>
Date: Mon, 18 Dec 2017 10:56:01 +0900 (JST)
Subject: [ruby-changes:49194] nobu:r61312 (trunk): vcs.rb: --add-author-from option
nobu 2017-12-18 10:55:55 +0900 (Mon, 18 Dec 2017) New Revision: 61312 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61312 Log: vcs.rb: --add-author-from option From: Nobuyoshi Nakada <nobu@r...> Modified files: trunk/tool/vcs.rb Index: tool/vcs.rb =================================================================== --- tool/vcs.rb (revision 61311) +++ tool/vcs.rb (revision 61312) @@ -469,7 +469,7 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/vcs.rb#L469 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] -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/