aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-10-12 22:02:09 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-10-12 22:02:09 +0300
commit4c0da45958a2797ddad935eb5f6b8629c7f424e8 (patch)
tree862c578b09f1e0ccb1afa51a340f35f165d1ad43
parent299648e71385abd207a6de288591494ef47216e8 (diff)
Fix sync failure on package version iteration
-rw-r--r--bdep/sync.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/bdep/sync.cxx b/bdep/sync.cxx
index b7cf01b..28bd0ea 100644
--- a/bdep/sync.cxx
+++ b/bdep/sync.cxx
@@ -372,7 +372,10 @@ namespace bdep
try
{
- version = bpkg::extract_package_version (s);
+ version =
+ bpkg::extract_package_version (s,
+ bpkg::version::fold_zero_revision |
+ bpkg::version::allow_iteration);
if (version.empty ())
fail << ep << "'" << line << "': dependent package version is "