diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-07 13:33:29 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-07 13:33:29 +0200 |
commit | 74bbd943c042478ac550ba7bf6fec0a14ae14bcf (patch) | |
tree | 90fbe65a3fc60fa2acc068d32f4a3a789cc0a41a /bpkg/rep-info.cxx | |
parent | 8826b24d68f3caff30ec0b70762073760dc8eb72 (diff) |
Ignoring unknown manifest entries where appropriate
Diffstat (limited to 'bpkg/rep-info.cxx')
-rw-r--r-- | bpkg/rep-info.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bpkg/rep-info.cxx b/bpkg/rep-info.cxx index 041d804..7ca7b22 100644 --- a/bpkg/rep-info.cxx +++ b/bpkg/rep-info.cxx @@ -32,10 +32,11 @@ namespace bpkg repository_location rl (parse_location (args.next ())); - // Fetch everything we will need before printing anything. + // Fetch everything we will need before printing anything. Ignore + // unknown manifest entries unless we are dumping them. // - repository_manifests rms (fetch_repositories (o, rl)); - package_manifests pms (fetch_packages (o, rl)); + repository_manifests rms (fetch_repositories (o, rl, !o.manifest ())); + package_manifests pms (fetch_packages (o, rl, !o.manifest ())); // Now print. // |