aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-list.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/rep-list.cxx')
-rw-r--r--bpkg/rep-list.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/bpkg/rep-list.cxx b/bpkg/rep-list.cxx
index 3ee52a9..8d308dd 100644
--- a/bpkg/rep-list.cxx
+++ b/bpkg/rep-list.cxx
@@ -101,7 +101,7 @@ namespace bpkg
info << "run 'bpkg help rep-list' for more information";
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> (""));