diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-08-30 20:56:26 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-05 16:55:45 +0300 |
commit | 1ad6dad8da0d51e9522f9d27cf48531fa23b24ba (patch) | |
tree | 4f53f85678348e605d282bad20b327653faa0729 /bpkg/rep-fetch.cxx | |
parent | 7b5a0b55569331560f9cb6439ee818c3ce5d8428 (diff) |
Adapt to optional package revision
Diffstat (limited to 'bpkg/rep-fetch.cxx')
-rw-r--r-- | bpkg/rep-fetch.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx index 413358a..cafa0c1 100644 --- a/bpkg/rep-fetch.cxx +++ b/bpkg/rep-fetch.cxx @@ -1307,7 +1307,10 @@ namespace bpkg const available_package_id& id (prf.package_id); if (id.name == ap.name && - compare_version_eq (id.version, ap.version, true, false)) + compare_version_eq (id.version, + ap.version, + true /* revision */, + false /* iteration */)) { shared_ptr<available_package> p (db.load<available_package> (id)); const version& v (p->version); |