From 03ee12a3b83ff9d56f3a993850cb134c2e16f846 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Sun, 25 Aug 2019 00:50:34 +0900 Subject: 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
' from ./tool/make-snapshot:523:in `collect' from ./tool/make-snapshot:523:in `
' ``` --- tool/lib/vcs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tool') 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 -- cgit v1.2.3