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:
parent
6b6178fc3d
commit
d32a13a30e
1 changed files with 8 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue