1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2015-01-18 05:25:04 +00:00
parent 6b6178fc3d
commit d32a13a30e

View file

@ -157,7 +157,14 @@ class VCS
end
def wcroot
@wcroot ||= get_info[/<wcroot-abspath>(.*)<\/wcroot-abspath>/, 1]
unless @wcroot
info = get_info
@wcroot = info[/<wcroot-abspath>(.*)<\/wcroot-abspath>/, 1]
unless @wcroot
STDERR.puts info.gsub(/^/, 'SVNINFO: ')
end
end
@wcroot
end
def branch(name)