MercurialDownloadStrategy: pull and update instead of update only
This commit is contained in:
		
							parent
							
								
									ced8edacdc
								
							
						
					
					
						commit
						914a068dc8
					
				@ -302,7 +302,10 @@ class MercurialDownloadStrategy <AbstractDownloadStrategy
 | 
			
		||||
      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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user