diff options
| author | Mike McQuaid | 2016-05-28 20:12:00 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2016-05-28 20:12:00 +0100 |
| commit | 60cb841ddb5135aea977e294089ff4f56143a30e (patch) | |
| tree | 6660643a073b964825377e3201b946759cb7c2d3 /Library/Homebrew/cmd/pull.rb | |
| parent | 7829af75089a9935679c82f631366d8bdafe9659 (diff) | |
| download | brew-60cb841ddb5135aea977e294089ff4f56143a30e.tar.bz2 | |
pull: remove legacy retry block.
Diffstat (limited to 'Library/Homebrew/cmd/pull.rb')
| -rw-r--r-- | Library/Homebrew/cmd/pull.rb | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/Library/Homebrew/cmd/pull.rb b/Library/Homebrew/cmd/pull.rb index 47c9fed74..0aca8a1ec 100644 --- a/Library/Homebrew/cmd/pull.rb +++ b/Library/Homebrew/cmd/pull.rb @@ -190,15 +190,7 @@ module Homebrew "https://github.com/BrewTestBot/homebrew-#{tap.repo}/compare/homebrew:master...pr-#{issue}" end - bottle_commit_fallbacked = false - begin - curl "--silent", "--fail", "-o", "/dev/null", "-I", bottle_commit_url - rescue ErrorDuringExecution - raise if bottle_commit_fallbacked - bottle_commit_url = "https://github.com/BrewTestBot/homebrew/compare/homebrew:master...pr-#{issue}" - bottle_commit_fallbacked = true - retry - end + curl "--silent", "--fail", "-o", "/dev/null", "-I", bottle_commit_url safe_system "git", "checkout", "--quiet", "-B", bottle_branch, orig_revision pull_patch bottle_commit_url, "bottle commit" |
