From e27574b27bf6ce11ce0dc5a139c09b228c672480 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 9 Oct 2013 21:41:14 -0500 Subject: [PATCH] SubversionDownloadStrategy: stop mutating revisions hash --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index c2b1096aaf..691ed87365 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|