aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-fetch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/rep-fetch.cxx')
-rw-r--r--bpkg/rep-fetch.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx
index 6f31478..e267412 100644
--- a/bpkg/rep-fetch.cxx
+++ b/bpkg/rep-fetch.cxx
@@ -871,6 +871,8 @@ namespace bpkg
}
}
+ assert (!masked_repository_fragment (rfl));
+
shared_ptr<repository_fragment> rf (
db.find<repository_fragment> (rfl.canonical_name ()));
@@ -1229,6 +1231,8 @@ namespace bpkg
tracer_guard tg (db, trace);
+ assert (!masked_repository (r));
+
// Check that the repository is not fetched yet and register it as fetched
// otherwise.
//