diff options
| author | Tuncer Ayaz | 2010-06-10 21:22:40 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-10 12:30:47 -0700 |
| commit | ced8edacdcc3dedd4403a1111b9ca0e4d062da19 (patch) | |
| tree | 21d27e77a4e2baacc9056403d9ac1cef364bfe43 | |
| parent | 22ec3c76a8c755c30fa4405fc97b4735fe74e9f7 (diff) | |
| download | brew-ced8edacdcc3dedd4403a1111b9ca0e4d062da19.tar.bz2 | |
MercurialDownloadStrategy: pull and update instead of update only
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index e5e00d261..4b8096742 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -302,7 +302,7 @@ class MercurialDownloadStrategy <AbstractDownloadStrategy safe_system 'hg', 'clone', url, @clone else puts "Updating #{@clone}" - Dir.chdir(@clone) { safe_system 'hg', 'update' } + Dir.chdir(@clone) { safe_system 'hg', 'pull', '-u' } end end |
