aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/virtuals/virtuals_repository.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/virtuals/virtuals_repository.cc')
-rw-r--r--paludis/repositories/virtuals/virtuals_repository.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/paludis/repositories/virtuals/virtuals_repository.cc b/paludis/repositories/virtuals/virtuals_repository.cc
index 5d432f10b..0341d4ead 100644
--- a/paludis/repositories/virtuals/virtuals_repository.cc
+++ b/paludis/repositories/virtuals/virtuals_repository.cc
@@ -177,8 +177,11 @@ VirtualsRepository::repository_factory_name(
std::shared_ptr<Repository>
VirtualsRepository::repository_factory_create(
const Environment * const env,
- const std::function<std::string (const std::string &)> &)
+ const std::function<std::string (const std::string &)> & f)
{
+ Log::get_instance()->message("virtuals.deprecated", ll_warning, lc_no_context)
+ << "Old-style virtuals no longer exist. You should remove " << f("repo_file");
+
return std::make_shared<VirtualsRepository>(env);
}