summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-15 06:02:58 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-12-15 06:02:58 +0000
commit4527b18a6b994da9578aefcf415b9fd8d32f76c8 (patch)
tree456cb0691d032470a0e9edd7be197a4519e00ad7
parent825680a106df7e1508e67cf383f155ec1823d1de (diff)
VCS::SVN#url was buggy and recent commits exposed it
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--tool/vcs.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index cf9af3a844..0866131926 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -137,7 +137,7 @@ class VCS
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