aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-add.cxx
diff options
context:
space:
mode:
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 ())