aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-unpack.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-08-25 20:24:57 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-08-30 15:57:58 +0300
commit00a83b2ab6ca84776dfb5bec1679863c1896a813 (patch)
tree5d0e1a96fb5ab5ba1bb32620c1eb265fc519d122 /bpkg/pkg-unpack.hxx
parente30e71dee35d8e7b1a1c4759bc839533521033e8 (diff)
Consider repository information from ultimate dependent databases rather then from just main database
Diffstat (limited to 'bpkg/pkg-unpack.hxx')
-rw-r--r--bpkg/pkg-unpack.hxx6
1 files changed, 5 insertions, 1 deletions
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<selected_package>
pkg_unpack (const common_options&,
- database&,
+ database& pdb,
+ database& rdb,
transaction&,
package_name,
version,