From 5468733e63f106e7431fb1f7e1bac8411115d2fb Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 28 Sep 2013 17:07:37 -0500 Subject: [PATCH] MercurialDownloadStrategy: pull quietly in non-verbose mode --- Library/Homebrew/download_strategy.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 29edbfb3bd..a5c2f10811 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