diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-13 21:05:35 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-16 11:10:04 +0300 |
commit | 32e4cffb444d4ad936c9037eecea9bd78f81f3d0 (patch) | |
tree | bbbb4452a88f47449c86a7ff85b9617ab7b621da /bpkg/rep-fetch.cxx | |
parent | c98f1215387f993329a96785a2a9102d93cb0328 (diff) |
Add --mask-repository pkg-build optionmask-repos-old
Diffstat (limited to 'bpkg/rep-fetch.cxx')
-rw-r--r-- | bpkg/rep-fetch.cxx | 4 |
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. // |