aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-fetch.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-08-30 20:56:26 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-09-05 16:55:45 +0300
commit1ad6dad8da0d51e9522f9d27cf48531fa23b24ba (patch)
tree4f53f85678348e605d282bad20b327653faa0729 /bpkg/rep-fetch.cxx
parent7b5a0b55569331560f9cb6439ee818c3ce5d8428 (diff)
Adapt to optional package revision
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);