[前][次][番号順一覧][スレッド一覧]

ruby-changes:57240

From: Kazuhiro <ko1@a...>
Date: Sun, 25 Aug 2019 00:52:02 +0900 (JST)
Subject: [ruby-changes:57240] Kazuhiro NISHIYAMA: 03ee12a3b8 (master): Add workaround (2nd try)

https://git.ruby-lang.org/ruby.git/commit/?id=03ee12a3b8

From 03ee12a3b83ff9d56f3a993850cb134c2e16f846 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
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 <main>'
    from ./tool/make-snapshot:523:in `collect'
    from ./tool/make-snapshot:523:in `<main>'
```

diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index 63ed62b..a65f1ff 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -547,7 +547,7 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/lib/vcs.rb#L547
         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 v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]