diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-03-21 21:40:28 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-04-19 19:39:55 +0300 |
commit | 15dff3c592385466406732cd6ced809dc28cf2e2 (patch) | |
tree | 1da9f0738293eb7906d92ab010a79c689087b655 /bpkg/rep-fetch.cxx | |
parent | 46842f6cf74d085ced382dd0c187f6a7a578913c (diff) |
Implement build plan simulation
Diffstat (limited to 'bpkg/rep-fetch.cxx')
-rw-r--r-- | bpkg/rep-fetch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx index 9558301..6d37f9f 100644 --- a/bpkg/rep-fetch.cxx +++ b/bpkg/rep-fetch.cxx @@ -877,7 +877,7 @@ namespace bpkg vector<lazy_shared_ptr<repository>> repos; repos.reserve (rls.size ()); - transaction t (db.begin ()); + transaction t (db); shared_ptr<repository> root (db.load<repository> ("")); repository::complements_type& ua (root->complements); // User-added repos. @@ -913,7 +913,7 @@ namespace bpkg vector<lazy_shared_ptr<repository>> repos; database db (open (c, trace)); - transaction t (db.begin ()); + transaction t (db); session s; // Repository dependencies can have cycles. shared_ptr<repository> root (db.load<repository> ("")); |