Commits

tuncer committed 281a08e

MercurialDownloadStrategy: pull and update instead of update only

  • Participants
  • Parent commits efa9374

Comments (0)

Files changed (1)

File Library/Homebrew/download_strategy.rb

       safe_system 'hg', 'clone', url, @clone
     else
       puts "Updating #{@clone}"
-      Dir.chdir(@clone) { safe_system 'hg', 'pull', '-u' }
+      Dir.chdir(@clone) do
+        safe_system 'hg', 'pull'
+        safe_system 'hg', 'update'
+      end
     end
   end