diff options
Diffstat (limited to 'paludis/repositories/e')
-rw-r--r-- | paludis/repositories/e/e_installed_repository.cc | 2 | ||||
-rw-r--r-- | paludis/repositories/e/e_installed_repository.hh | 1 | ||||
-rw-r--r-- | paludis/repositories/e/e_repository.cc | 5 | ||||
-rw-r--r-- | paludis/repositories/e/e_repository.hh | 5 |
4 files changed, 10 insertions, 3 deletions
diff --git a/paludis/repositories/e/e_installed_repository.cc b/paludis/repositories/e/e_installed_repository.cc index 06aebc666..2c670d198 100644 --- a/paludis/repositories/e/e_installed_repository.cc +++ b/paludis/repositories/e/e_installed_repository.cc @@ -398,7 +398,7 @@ EInstalledRepository::populate_sets() const } bool -EInstalledRepository::sync(const std::string &, const std::shared_ptr<OutputManager> &) const +EInstalledRepository::sync(const std::string &, const std::string &, const std::shared_ptr<OutputManager> &) const { return false; } diff --git a/paludis/repositories/e/e_installed_repository.hh b/paludis/repositories/e/e_installed_repository.hh index 3d076d7db..9aa18258a 100644 --- a/paludis/repositories/e/e_installed_repository.hh +++ b/paludis/repositories/e/e_installed_repository.hh @@ -90,6 +90,7 @@ namespace paludis virtual bool sync( const std::string &, + const std::string &, const std::shared_ptr<OutputManager> &) const; ///\name For use by EInstalledRepositoryID diff --git a/paludis/repositories/e/e_repository.cc b/paludis/repositories/e/e_repository.cc index b5d502d4a..e23350883 100644 --- a/paludis/repositories/e/e_repository.cc +++ b/paludis/repositories/e/e_repository.cc @@ -697,6 +697,7 @@ ERepository::need_mirrors() const bool ERepository::sync( const std::string & suffix, + const std::string & revision, const std::shared_ptr<OutputManager> & output_manager) const { Context context("When syncing repository '" + stringify(name()) + "':"); @@ -720,8 +721,10 @@ ERepository::sync( DefaultSyncer syncer(make_named_values<SyncerParams>( n::environment() = _imp->params.environment(), n::local() = stringify(_imp->params.location()), - n::remote() = *s + n::remote() = *s, + n::revision() = revision )); + SyncOptions opts(make_named_values<SyncOptions>( n::filter_file() = _imp->layout->sync_filter_file(), n::options() = sync_options, diff --git a/paludis/repositories/e/e_repository.hh b/paludis/repositories/e/e_repository.hh index e800f8473..3fc9c5e77 100644 --- a/paludis/repositories/e/e_repository.hh +++ b/paludis/repositories/e/e_repository.hh @@ -105,7 +105,10 @@ namespace paludis /* RepositorySyncableInterface */ - virtual bool sync(const std::string &, const std::shared_ptr<OutputManager> &) const; + virtual bool sync( + const std::string &, + const std::string &, + const std::shared_ptr<OutputManager> &) const; /* RepositoryEnvironmentVariableInterface */ |