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>'
```
This commit is contained in:
Kazuhiro NISHIYAMA 2019-08-25 00:50:34 +09:00
parent df348310dc
commit 03ee12a3b8
No known key found for this signature in database
GPG Key ID: 262ED8DBB4222F7A

View File

@ -547,7 +547,7 @@ class VCS
warn "retry trunk instead of master", uplevel: 0 warn "retry trunk instead of master", uplevel: 0
STDERR.puts "existing branches:" STDERR.puts "existing branches:"
system(COMMAND, "branch", "-a", 1 => 2) system(COMMAND, "branch", "-a", 1 => 2)
url = Branch.new("trunk") url.to_str.replace("trunk")
retry retry
end end
raise raise