diff options
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 |
