diff options
| author | Max Howell | 2009-12-19 14:10:18 +0000 |
|---|---|---|
| committer | Max Howell | 2009-12-19 15:04:15 +0000 |
| commit | ec6f290cc0f88b6a54b6da2668dba8cf08177722 (patch) | |
| tree | c3ae94c0f6244d650e53d0d2026a4b14d8a4bd58 /Library | |
| parent | 5aaaa9c7c0798aaec69cd4883863567307744e7b (diff) | |
| download | homebrew-ec6f290cc0f88b6a54b6da2668dba8cf08177722.tar.bz2 | |
Revert "Mercurial - use post-fix if"
This reverts commit 6a8b3cc71feccbf73225bc7dc8c5e6972de9953d.
This was a bad merge on my part.
Fixes #221. Fixes #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' } |
