Removing svn+ when using svn+http to avoid Undefined tunnel scheme error

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Simon COURTOIS 2011-03-15 17:55:40 +01:00 committed by Adam Vandenberg
parent c2c21edae4
commit 846087d585

View File

@ -164,6 +164,7 @@ class SubversionDownloadStrategy <AbstractDownloadStrategy
end
def fetch
@url.sub!(/^svn\+/, '') if @url =~ %r[^svn\+http://]
ohai "Checking out #{@url}"
if @spec == :revision
fetch_repo @co, @url, @ref