diff options
| author | Max Howell | 2009-12-19 14:10:18 +0000 |
|---|---|---|
| committer | Max Howell | 2009-12-19 15:04:15 +0000 |
| commit | 3930361bb2f87779309563285f4e984e06377fe6 (patch) | |
| tree | 563dfd32e1e5cd9d15cf43242235b923dce66a9f /Library | |
| parent | ac1d366fab387d3a1b7ae3a679482b587169371d (diff) | |
| download | brew-3930361bb2f87779309563285f4e984e06377fe6.tar.bz2 | |
Revert "Mercurial - use post-fix if"
This reverts commit 6a8b3cc71feccbf73225bc7dc8c5e6972de9953d.
This was a bad merge on my part.
Fixes Homebrew/homebrew#221. Fixes Homebrew/homebrew#220.
Diffstat (limited to 'Library')
| -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 d8900af89..06942cc0b 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -243,7 +243,7 @@ class MercurialDownloadStrategy <AbstractDownloadStrategy url=@url.sub(%r[^hg://], '') unless @clone.exist? - safe_system 'hg', 'clone', *checkout_args + safe_system 'hg', 'clone', url, @clone else puts "Updating #{@clone}" Dir.chdir(@clone) { safe_system 'hg', 'update' } |
