[前][次][番号順一覧][スレッド一覧]

ruby-changes:36762

From: naruse <ko1@a...>
Date: Mon, 15 Dec 2014 15:03:10 +0900 (JST)
Subject: [ruby-changes:36762] naruse:r48843 (trunk): VCS::SVN#url was buggy and recent commits exposed it

naruse	2014-12-15 15:02:58 +0900 (Mon, 15 Dec 2014)

  New Revision: 48843

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48843

  Log:
    VCS::SVN#url was buggy and recent commits exposed it

  Modified files:
    trunk/tool/vcs.rb
Index: tool/vcs.rb
===================================================================
--- tool/vcs.rb	(revision 48842)
+++ tool/vcs.rb	(revision 48843)
@@ -137,7 +137,7 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/vcs.rb#L137
 
     def url
       unless defined?(@url)
-        url = IO.pread(%W"svn info --xml #{@srcdir}")[/<url>(.*)<\/url>/, 1]
+        url = IO.pread(%W"svn info --xml #{@srcdir}")[/<root>(.*)<\/root>/, 1]
         @url = URI.parse(url+"/") if url
       end
       @url

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]