aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-fetch.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/rep-fetch.cxx')
-rw-r--r--bpkg/rep-fetch.cxx5
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);