aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-10-09 21:41:14 -0500
committerJack Nagel2013-10-09 21:41:14 -0500
commite27574b27bf6ce11ce0dc5a139c09b228c672480 (patch)
tree727439d2930c6912910abec9967501f1e4a7d2c6 /Library
parent3d7de0065b43fd9ff6fb0ad5ff9eca155d7eef92 (diff)
downloadbrew-e27574b27bf6ce11ce0dc5a139c09b228c672480.tar.bz2
SubversionDownloadStrategy: stop mutating revisions hash
Diffstat (limited to 'Library')
-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|