summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-24 16:22:37 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-08-24 16:22:37 +0900
commit97ad7862d5f65c48409a5301609af8448aaae16d (patch)
treecb0774f4638f79e2eab4ecd102371fe7fd645cd7
parentfe83ed47e7e79208c0129a0005dcb9d569543893 (diff)
Add debug print
matser branch not found on some CIs https://rubyci.org/logs/rubyci.s3.amazonaws.com/debian9/ruby-master/log/20190824T063005Z.fail.html.gz ``` fatal: Remote branch master not found in upstream origin ```
-rw-r--r--tool/lib/vcs.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb
index 9a90a04119..55c7a96437 100644
--- a/tool/lib/vcs.rb
+++ b/tool/lib/vcs.rb
@@ -540,6 +540,7 @@ class VCS
end
def export(revision, url, dir, keep_temp = false)
+ puts "branches:"; system(COMMAND, "branch", "-a") # for debug
ret = system(COMMAND, "clone", "-s", (@srcdir || '.').to_s, "-b", url, dir)
ret
end