aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 "