aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-checkout.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-checkout.hxx')
-rw-r--r--bpkg/pkg-checkout.hxx10
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,