aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-09-28 17:07:37 -0500
committerJack Nagel2013-09-28 17:09:05 -0500
commit5468733e63f106e7431fb1f7e1bac8411115d2fb (patch)
tree225a64e3d771720bb1c1e35c7dbf4a0f5ce88541 /Library
parent7deb2f85e82c43f6927f8e89f8f81fb10ddbecef (diff)
downloadbrew-5468733e63f106e7431fb1f7e1bac8411115d2fb.tar.bz2
MercurialDownloadStrategy: pull quietly in non-verbose mode
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 29edbfb3b..a5c2f1081 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -633,10 +633,7 @@ class MercurialDownloadStrategy < AbstractDownloadStrategy
if @clone.exist? && repo_valid?
puts "Updating #{@clone}"
- @clone.cd do
- safe_system hgpath, 'pull'
- safe_system hgpath, 'update'
- end
+ @clone.cd { quiet_safe_system hgpath, 'pull', '--update' }
elsif @clone.exist?
puts "Removing invalid hg repo from cache"
@clone.rmtree