SubversionDownloadStrategy: don't mutate URL string
This commit is contained in:
parent
284a3716ea
commit
40c0ed8a9a
@ -329,7 +329,7 @@ class SubversionDownloadStrategy < VCSDownloadStrategy
|
||||
end
|
||||
|
||||
def fetch
|
||||
@url.sub!(/^svn\+/, '') if @url =~ %r[^svn\+http://]
|
||||
@url = @url.sub(/^svn\+/, '') if @url =~ %r[^svn\+http://]
|
||||
ohai "Checking out #{@url}"
|
||||
|
||||
if @clone.exist? and not repo_valid?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user