aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index e2a50b1d3..1d796f673 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -243,9 +243,6 @@ class MercurialDownloadStrategy <AbstractDownloadStrategy
unless @clone.exist?
checkout_args = []
- if (@spec == :revision) and @ref
- checkout_args << '-r' << @ref
- end
checkout_args << url << @clone
safe_system 'hg', 'clone', *checkout_args
else