aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-13 15:52:01 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-13 15:52:01 +0000
commit4d88051843cbc6a4ddd56fb64dda1347896c1069 (patch)
treed429ba12960ef3f8568c955c6fa018272c58afbc
parent29c80e375828fe5bcdbbb54fceccdf1a031d6f28 (diff)
downloadpaludis-4d88051843cbc6a4ddd56fb64dda1347896c1069.tar.gz
paludis-4d88051843cbc6a4ddd56fb64dda1347896c1069.tar.xz
Deprecate format=nothing
-rw-r--r--paludis/repositories/nothing/nothing_repository.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/repositories/nothing/nothing_repository.cc b/paludis/repositories/nothing/nothing_repository.cc
index 008b5b6..1c9c29d 100644
--- a/paludis/repositories/nothing/nothing_repository.cc
+++ b/paludis/repositories/nothing/nothing_repository.cc
@@ -182,6 +182,9 @@ NothingRepository::make_nothing_repository(
Context context("When making Nothing repository from repo_file '" + repo_file + "':");
+ Log::get_instance()->message(ll_warning, lc_context, "Format 'nothing' is "
+ "deprecated, use 'ebuild' or hook scripts instead");
+
std::string location;
if (m->end() == m->find("location") || ((location = m->find("location")->second)).empty())
throw NothingRepositoryConfigurationError("Key 'location' not specified or empty");