Skip to content
Snippets Groups Projects
Commit 40c0ed8a authored by Jack Nagel's avatar Jack Nagel
Browse files

SubversionDownloadStrategy: don't mutate URL string

parent 284a3716
No related branches found
No related tags found
No related merge requests found
...@@ -329,7 +329,7 @@ class SubversionDownloadStrategy < VCSDownloadStrategy ...@@ -329,7 +329,7 @@ class SubversionDownloadStrategy < VCSDownloadStrategy
end end
def fetch def fetch
@url.sub!(/^svn\+/, '') if @url =~ %r[^svn\+http://] @url = @url.sub(/^svn\+/, '') if @url =~ %r[^svn\+http://]
ohai "Checking out #{@url}" ohai "Checking out #{@url}"
if @clone.exist? and not repo_valid? if @clone.exist? and not repo_valid?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment