aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-add.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-21 21:40:28 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-04-19 19:39:55 +0300
commit15dff3c592385466406732cd6ced809dc28cf2e2 (patch)
tree1da9f0738293eb7906d92ab010a79c689087b655 /bpkg/rep-add.cxx
parent46842f6cf74d085ced382dd0c187f6a7a578913c (diff)
Implement build plan simulation
Diffstat (limited to 'bpkg/rep-add.cxx')
-rw-r--r--bpkg/rep-add.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/rep-add.cxx b/bpkg/rep-add.cxx
index 704da68..3569584 100644
--- a/bpkg/rep-add.cxx
+++ b/bpkg/rep-add.cxx
@@ -67,7 +67,7 @@ namespace bpkg
info << "run 'bpkg help rep-add' for more information";
database db (open (c, trace));
- transaction t (db.begin ());
+ transaction t (db);
session s; // Repository dependencies can have cycles.
while (args.more ())