aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-25 00:50:34 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-25 00:50:34 +0900
commit03ee12a3b83ff9d56f3a993850cb134c2e16f846 (patch)
tree02f3ff249d57f1ea52bc6e51491e60ae1ac0649d
parentdf348310dc2ba0b01f7dd7277184c688a5d430fe (diff)
downloadruby-03ee12a3b83ff9d56f3a993850cb134c2e16f846.tar.gz
Add workaround (2nd try)
https://rubyci.org/logs/rubyci.s3.amazonaws.com/gentoo/ruby-master/log/20190824T153002Z.fail.html.gz ``` /home/gentoo/chkbuild/tmp/build/20190824T153002Z/ruby/tool/lib/vcs.rb:577:in `export_changelog': cannot find the beginning revision of the branch (RuntimeError) from ./tool/make-snapshot:353:in `block in package' from ./tool/make-snapshot:351:in `chdir' from ./tool/make-snapshot:351:in `package' from ./tool/make-snapshot:523:in `block in <main>' from ./tool/make-snapshot:523:in `collect' from ./tool/make-snapshot:523:in `<main>' ```
-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 63ed62b640..a65f1ffc49 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -547,7 +547,7 @@ class VCS
warn "retry trunk instead of master", uplevel: 0
STDERR.puts "existing branches:"
system(COMMAND, "branch", "-a", 1 => 2)
- url = Branch.new("trunk")
+ url.to_str.replace("trunk")
retry
end
raise