diff options
| author | Jack Nagel | 2013-09-28 17:07:37 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-09-28 17:09:05 -0500 |
| commit | 5468733e63f106e7431fb1f7e1bac8411115d2fb (patch) | |
| tree | 225a64e3d771720bb1c1e35c7dbf4a0f5ce88541 /Library | |
| parent | 7deb2f85e82c43f6927f8e89f8f81fb10ddbecef (diff) | |
| download | brew-5468733e63f106e7431fb1f7e1bac8411115d2fb.tar.bz2 | |
MercurialDownloadStrategy: pull quietly in non-verbose mode
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 5 |
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 |
