aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-info.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-05-03 17:19:19 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-03 17:34:27 +0300
commit06c76d48163efb5a6a9bb4340723baf7a3a0a41c (patch)
tree15e8b4b0774a3ca2b659e7acc497a51ea978caa9 /bpkg/rep-info.cxx
parentd4e409e3ceb7eadd9cf94b1d1f99ac04fec570ee (diff)
Adapt to optional base repository manifest
Diffstat (limited to 'bpkg/rep-info.cxx')
-rw-r--r--bpkg/rep-info.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/bpkg/rep-info.cxx b/bpkg/rep-info.cxx
index 1ffeee3..f136aad 100644
--- a/bpkg/rep-info.cxx
+++ b/bpkg/rep-info.cxx
@@ -168,11 +168,9 @@ namespace bpkg
// Append the latest base repository manifest.
//
- // Note that there must be at least one fragment with at least a
- // base repository being present.
+ // Note that there must be at least one fragment.
//
- assert (!rfd.fragments.empty () &&
- !rfd.fragments.back ().repositories.empty ());
+ assert (!rfd.fragments.empty ());
rms.push_back (
find_base_repository (rfd.fragments.back ().repositories));