MercurialDownloadStrategy: pull quietly in non-verbose mode

This commit is contained in:
Jack Nagel 2013-09-28 17:07:37 -05:00
parent 7deb2f85e8
commit 5468733e63

View File

@ -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