aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-fetch.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-fetch.hxx
parente30e71dee35d8e7b1a1c4759bc839533521033e8 (diff)
Consider repository information from ultimate dependent databases rather then from just main database
Diffstat (limited to 'bpkg/pkg-fetch.hxx')
-rw-r--r--bpkg/pkg-fetch.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/bpkg/pkg-fetch.hxx b/bpkg/pkg-fetch.hxx
index 9dd53f6..5d698d5 100644
--- a/bpkg/pkg-fetch.hxx
+++ b/bpkg/pkg-fetch.hxx
@@ -34,9 +34,13 @@ namespace bpkg
// 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_fetch (const common_options&,
- database&,
+ database& pdb,
+ database& rdb,
transaction&,
package_name,
version,