diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-10-06 22:16:46 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-10-07 13:20:53 +0300 |
commit | e253cd97c6a8d55a5be19731d58769f4663ab2d1 (patch) | |
tree | 44a976e7b4ac4d55212cd0b7f2c52a5bf18d8516 /bpkg/rep-fetch.cxx | |
parent | ed3452457b33bb7a4b2f0abb3ae1fc53f826bc9e (diff) |
Add support for applying backward compatibility workarounds to packages.manifest file generated by rep-create
Diffstat (limited to 'bpkg/rep-fetch.cxx')
-rw-r--r-- | bpkg/rep-fetch.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx index 73c9058..cefa799 100644 --- a/bpkg/rep-fetch.cxx +++ b/bpkg/rep-fetch.cxx @@ -161,7 +161,8 @@ namespace bpkg M r; if (exists (f)) r = parse_manifest<M> (f, iu, rl, fragment); - else + + if (r.empty ()) r.emplace_back (repository_manifest ()); // Add the base repository. return r; |