From d32a13a30e8fea47d6f508b9d06934f15cdbbe2e Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 18 Jan 2015 05:25:04 +0000 Subject: vcs.rb: debug * tool/vcs.rb (VCS::SVN#wcroot): debug info. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- tool/vcs.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'tool/vcs.rb') diff --git a/tool/vcs.rb b/tool/vcs.rb index 52c0860177..9f7c3a5ea7 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -157,7 +157,14 @@ class VCS end def wcroot - @wcroot ||= get_info[/(.*)<\/wcroot-abspath>/, 1] + unless @wcroot + info = get_info + @wcroot = info[/(.*)<\/wcroot-abspath>/, 1] + unless @wcroot + STDERR.puts info.gsub(/^/, 'SVNINFO: ') + end + end + @wcroot end def branch(name) -- cgit v1.2.3