aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/unavailable
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/unavailable')
-rw-r--r--paludis/repositories/unavailable/unavailable_repository.cc5
-rw-r--r--paludis/repositories/unavailable/unavailable_repository.hh2
2 files changed, 5 insertions, 2 deletions
diff --git a/paludis/repositories/unavailable/unavailable_repository.cc b/paludis/repositories/unavailable/unavailable_repository.cc
index 428b77d80..4739c7202 100644
--- a/paludis/repositories/unavailable/unavailable_repository.cc
+++ b/paludis/repositories/unavailable/unavailable_repository.cc
@@ -316,6 +316,7 @@ UnavailableRepository::some_ids_might_not_be_masked() const
bool
UnavailableRepository::sync(
const std::string & suffix,
+ const std::string & revision,
const std::shared_ptr<OutputManager> & output_manager) const
{
Context context("When syncing repository '" + stringify(name()) + "':");
@@ -339,8 +340,10 @@ UnavailableRepository::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() = FSPath("/dev/null"),
n::options() = sync_options,
diff --git a/paludis/repositories/unavailable/unavailable_repository.hh b/paludis/repositories/unavailable/unavailable_repository.hh
index fdab7db99..3d5fdd569 100644
--- a/paludis/repositories/unavailable/unavailable_repository.hh
+++ b/paludis/repositories/unavailable/unavailable_repository.hh
@@ -94,7 +94,7 @@ namespace paludis
virtual bool some_ids_might_not_be_masked() const;
virtual void invalidate();
- 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;
///\name RepositoryFactory functions
///\{