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:
parent
6b6178fc3d
commit
d32a13a30e
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user