aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTuncer Ayaz2010-06-10 21:22:40 +0200
committerAdam Vandenberg2010-06-10 12:30:47 -0700
commitefa937452c8fce5eff171bd1b63a2c5428c8a2c0 (patch)
treea30cda5f99b5f0a6680b3f4a19120cfeeb52bd1c /Library
parent9b9169137903c9cb62a7f6de839540d30935abef (diff)
downloadhomebrew-efa937452c8fce5eff171bd1b63a2c5428c8a2c0.tar.bz2
MercurialDownloadStrategy: pull and update instead of update only
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 e5e00d261..4b8096742 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -302,7 +302,7 @@ class MercurialDownloadStrategy <AbstractDownloadStrategy
safe_system 'hg', 'clone', url, @clone
else
puts "Updating #{@clone}"
- Dir.chdir(@clone) { safe_system 'hg', 'update' }
+ Dir.chdir(@clone) { safe_system 'hg', 'pull', '-u' }
end
end