ruby-changes:37238
From: nobu <ko1@a...>
Date: Sun, 18 Jan 2015 14:25:10 +0900 (JST)
Subject: [ruby-changes:37238] nobu:r49319 (trunk): vcs.rb: debug
nobu 2015-01-18 14:25:04 +0900 (Sun, 18 Jan 2015) New Revision: 49319 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49319 Log: vcs.rb: debug * tool/vcs.rb (VCS::SVN#wcroot): debug info. Modified files: trunk/tool/vcs.rb Index: tool/vcs.rb =================================================================== --- tool/vcs.rb (revision 49318) +++ tool/vcs.rb (revision 49319) @@ -157,7 +157,14 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/vcs.rb#L157 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) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/