diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-10-12 22:02:09 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-10-12 22:02:09 +0300 |
commit | 4c0da45958a2797ddad935eb5f6b8629c7f424e8 (patch) | |
tree | 862c578b09f1e0ccb1afa51a340f35f165d1ad43 | |
parent | 299648e71385abd207a6de288591494ef47216e8 (diff) |
Fix sync failure on package version iteration
-rw-r--r-- | bdep/sync.cxx | 5 |
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 " |