From 00a83b2ab6ca84776dfb5bec1679863c1896a813 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 25 Aug 2021 20:24:57 +0300 Subject: Consider repository information from ultimate dependent databases rather then from just main database --- bpkg/pkg-unpack.hxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bpkg/pkg-unpack.hxx') diff --git a/bpkg/pkg-unpack.hxx b/bpkg/pkg-unpack.hxx index c6496d6..7394732 100644 --- a/bpkg/pkg-unpack.hxx +++ b/bpkg/pkg-unpack.hxx @@ -43,9 +43,13 @@ namespace bpkg // repository and commit the transaction. Return the selected package object // which may replace the existing one. // + // Note that both package and repository information configurations need to + // be passed. + // shared_ptr pkg_unpack (const common_options&, - database&, + database& pdb, + database& rdb, transaction&, package_name, version, -- cgit v1.1