From 7caa577e504fb3212c833eb23dc0f1ed6dae464c Mon Sep 17 00:00:00 2001 From: Louise Crow Date: Tue, 30 Jul 2013 18:23:31 +0100 Subject: Call it an error, not a warning. --- lib/tasks/submodules.rake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/tasks/submodules.rake') diff --git a/lib/tasks/submodules.rake b/lib/tasks/submodules.rake index 4d414ea84..1112e443e 100644 --- a/lib/tasks/submodules.rake +++ b/lib/tasks/submodules.rake @@ -7,17 +7,17 @@ namespace :submodules do sha, repo, branch = commit_info.split(' ') case sha[0,1] when '+' - $stderr.puts "Warning: Currently checked out submodule commit for #{repo}" + $stderr.puts "Error: Currently checked out submodule commit for #{repo}" $stderr.puts "does not match the commit expected by this version of Alaveteli." $stderr.puts "You can update it with 'git submodule update'." exit(1) when '-' - $stderr.puts "Warning: Submodule #{repo} needs to be initialized." + $stderr.puts "Error: Submodule #{repo} needs to be initialized." $stderr.puts "You can do this by running 'git submodule update --init'." exit(1) when 'U' - $stderr.puts "Warning: Submodule #{repo} has merge conflicts." - $stderr.puts "You'll probably need to resolve these to run Alaveteli." + $stderr.puts "Error: Submodule #{repo} has merge conflicts." + $stderr.puts "You'll need to resolve these to run Alaveteli." exit(1) else exit(0) -- cgit v1.2.3