aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/repository/repository_repository.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/repository/repository_repository.cc')
-rw-r--r--paludis/repositories/repository/repository_repository.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/paludis/repositories/repository/repository_repository.cc b/paludis/repositories/repository/repository_repository.cc
index 3a5988729..bd30f8a08 100644
--- a/paludis/repositories/repository/repository_repository.cc
+++ b/paludis/repositories/repository/repository_repository.cc
@@ -442,6 +442,9 @@ RepositoryRepository::merge(const MergeParams & m)
if (! is_suitable_destination_for(m.package_id()))
throw ActionFailedError("Not a suitable destination for '" + stringify(*m.package_id()) + "'");
+ if (m.check())
+ return;
+
std::string repo_sync(get_string_key(m.package_id(), "REPOSITORY_SYNC"));
std::string repo_format(get_string_key(m.package_id(), "REPOSITORY_FORMAT"));
std::string repo_name(stringify(m.package_id()->name().package()));