aboutsummaryrefslogtreecommitdiffstats
path: root/tool/vcs.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r--tool/vcs.rb9
1 files changed, 8 insertions, 1 deletions
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>(.*)<\/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)