diff options
Diffstat (limited to 'bpkg/package.cxx')
-rw-r--r-- | bpkg/package.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bpkg/package.cxx b/bpkg/package.cxx index 08e71f9..2880368 100644 --- a/bpkg/package.cxx +++ b/bpkg/package.cxx @@ -65,6 +65,12 @@ namespace bpkg const auto& ps (r->prerequisites); const auto& cs (r->complements); + // @@ The same repository can be present in the location set multiple times + // with different fragment values. Given that we may traverse the same + // repository tree multiple times, which is inefficient but harmless. + // Let's leave it this way for now as it likely to be changed with + // adding support for repository fragment objects. + // for (const package_location& pl: ap->locations) { const lazy_shared_ptr<repository>& lr (pl.repository); |