mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
825680a106
commit
4527b18a6b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue