aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2016-09-19 14:32:56 +0100
committerMike McQuaid2016-09-19 14:32:56 +0100
commitb0f3e38ff94b3340252e986d6e38f4b21d17985b (patch)
tree53fe5f0d3b7e996b1f10e89ec4d41b5cacabecfd
parent13f08a2bd4ff3aec13423fa5bb62b6ef08ffa0c4 (diff)
downloadbrew-b0f3e38ff94b3340252e986d6e38f4b21d17985b.tar.bz2
update-report: tweak migration failure message.
-rw-r--r--Library/Homebrew/cmd/update-report.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb
index 2f29fb701..f6e73c2eb 100644
--- a/Library/Homebrew/cmd/update-report.rb
+++ b/Library/Homebrew/cmd/update-report.rb
@@ -283,9 +283,12 @@ module Homebrew
EOS
rescue => e
ofail <<-EOS.undent
- #{e}
#{Tty.white}Failed to migrate HOMEBREW_REPOSITORY to #{new_homebrew_repository}!
- Please comment with your new error in issue or +1 an existing error:
+ The error was:
+ #{e}
+ Please try to resolve this error yourself and then run `brew update` again to
+ complete the migration. If you need help please +1 an existing error or comment
+ with your new error in issue:
#{Tty.em}https://github.com/Homebrew/brew/issues/987#{Tty.reset}
EOS
$stderr.puts e.backtrace