aboutsummaryrefslogtreecommitdiff
path: root/bpkg/cfg-create.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/cfg-create.cxx')
-rw-r--r--bpkg/cfg-create.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/cfg-create.cxx b/bpkg/cfg-create.cxx
index 8fd3a05..9b56cad 100644
--- a/bpkg/cfg-create.cxx
+++ b/bpkg/cfg-create.cxx
@@ -98,7 +98,7 @@ namespace bpkg
// Add the special, root repository object with empty location.
//
- transaction t (db.begin ());
+ transaction t (db);
db.persist (repository (repository_location ()));
t.commit ();