From 1ad6dad8da0d51e9522f9d27cf48531fa23b24ba Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 30 Aug 2019 20:56:26 +0300 Subject: Adapt to optional package revision --- bpkg/rep-fetch.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bpkg/rep-fetch.cxx') 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 p (db.load (id)); const version& v (p->version); -- cgit v1.1