summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-18 05:25:04 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-01-18 05:25:04 +0000
commitd32a13a30e8fea47d6f508b9d06934f15cdbbe2e (patch)
treede28f17aae27469680e78e18032901f1b1ca426d /tool
parent6b6178fc3d1485f472e721639cd9e994798959f1 (diff)
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
Diffstat (limited to 'tool')
-rw-r--r--tool/vcs.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 52c0860..9f7c3a5 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -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)