summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-03-08 17:38:37 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-03-08 17:38:37 +0900
commit2b7409a2f2aaab1368c57e1cd03c12b2b8972fa9 (patch)
tree1d3d2d2c5c91cd732fc093f0245acf6d67bf718c /tool
parent53efe6328057ccb604a81541080aab3b3e1268d7 (diff)
Specify explicit separator not to be affected by $;
Diffstat (limited to 'tool')
-rw-r--r--tool/lib/vcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index 63a1b70dca..c4d894e107 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -728,7 +728,7 @@ class VCS
commits = cmd_read([COMMAND, "log", "--reverse", "--format=%H %ae %ce", "#{com}..@"], "rb").split("\n")
commits.each_with_index do |l, i|
- r, a, c = l.split
+ r, a, c = l.split(' ')
dcommit = [COMMAND, "svn", "dcommit"]
dcommit.insert(-2, "-n") if dryrun
dcommit << "--add-author-from" unless a == c