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:
parent
c2c21edae4
commit
846087d585
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user