diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-08-25 20:24:57 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-08-30 15:57:58 +0300 |
commit | 00a83b2ab6ca84776dfb5bec1679863c1896a813 (patch) | |
tree | 5d0e1a96fb5ab5ba1bb32620c1eb265fc519d122 /bpkg/pkg-checkout.hxx | |
parent | e30e71dee35d8e7b1a1c4759bc839533521033e8 (diff) |
Consider repository information from ultimate dependent databases rather then from just main database
Diffstat (limited to 'bpkg/pkg-checkout.hxx')
-rw-r--r-- | bpkg/pkg-checkout.hxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/bpkg/pkg-checkout.hxx b/bpkg/pkg-checkout.hxx index d910509..b775b07 100644 --- a/bpkg/pkg-checkout.hxx +++ b/bpkg/pkg-checkout.hxx @@ -76,6 +76,10 @@ namespace bpkg erase (state_map::iterator, bool ignore_errors = false); }; + // Note that for the following functions both package and repository + // information configurations need to be passed. + // + // Check out the package from a version control-based repository into a // directory other than the configuration directory and commit the // transaction. Return the selected package object which may replace the @@ -84,7 +88,8 @@ namespace bpkg shared_ptr<selected_package> pkg_checkout (pkg_checkout_cache&, const common_options&, - database&, + database& pdb, + database& rdb, transaction&, package_name, version, @@ -100,7 +105,8 @@ namespace bpkg shared_ptr<selected_package> pkg_checkout (pkg_checkout_cache&, const common_options&, - database&, + database& pdb, + database& rdb, transaction&, package_name, version, |