aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2009-11-22 21:30:30 -0800
committerMax Howell2009-12-17 16:27:10 +0000
commit6a8b3cc71feccbf73225bc7dc8c5e6972de9953d (patch)
tree0c22d36a035ec56f8d0982669eb60abee1d70399 /Library
parent42ef2eb59d3797f00541eea56f1f1714d32fbe40 (diff)
downloadhomebrew-6a8b3cc71feccbf73225bc7dc8c5e6972de9953d.tar.bz2
Mercurial - use post-fix if
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 06942cc0b..d8900af89 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -243,7 +243,7 @@ class MercurialDownloadStrategy <AbstractDownloadStrategy
url=@url.sub(%r[^hg://], '')
unless @clone.exist?
- safe_system 'hg', 'clone', url, @clone
+ safe_system 'hg', 'clone', *checkout_args
else
puts "Updating #{@clone}"
Dir.chdir(@clone) { safe_system 'hg', 'update' }