aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/download_strategy.rb
diff options
context:
space:
mode:
authorJack Nagel2013-10-09 21:41:14 -0500
committerJack Nagel2013-10-09 21:41:14 -0500
commit9da55d087ca6b0da91c9d7b9d6edaeda44105fde (patch)
treefe0ae81506ee63aa7f84cee7a2c489715b1bb9d3 /Library/Homebrew/download_strategy.rb
parent93ffcb3e83ed90107dddc49829fca616bef7a4f6 (diff)
downloadhomebrew-9da55d087ca6b0da91c9d7b9d6edaeda44105fde.tar.bz2
SubversionDownloadStrategy: stop mutating revisions hash
Diffstat (limited to 'Library/Homebrew/download_strategy.rb')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index c2b1096aa..691ed8736 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -336,7 +336,7 @@ class SubversionDownloadStrategy < AbstractDownloadStrategy
fetch_repo @co, @url, @ref
when :revisions
# nil is OK for main_revision, as fetch_repo will then get latest
- main_revision = @ref.delete :trunk
+ main_revision = @ref[:trunk]
fetch_repo @co, @url, main_revision, true
get_externals do |external_name, external_url|