|
|
@ -155,6 +155,11 @@ class Runner: |
|
|
|
try: |
|
|
|
try: |
|
|
|
wrapdb_version = self.wrap.get('wrapdb_version') |
|
|
|
wrapdb_version = self.wrap.get('wrapdb_version') |
|
|
|
branch, revision = wrapdb_version.split('-', 1) |
|
|
|
branch, revision = wrapdb_version.split('-', 1) |
|
|
|
|
|
|
|
except ValueError: |
|
|
|
|
|
|
|
if not options.force: |
|
|
|
|
|
|
|
self.log(' ->', mlog.red('Malformed wrapdb_version field, use --force to update any way')) |
|
|
|
|
|
|
|
return False |
|
|
|
|
|
|
|
branch = revision = None |
|
|
|
except WrapException: |
|
|
|
except WrapException: |
|
|
|
# Fallback to parsing the patch URL to determine current version. |
|
|
|
# Fallback to parsing the patch URL to determine current version. |
|
|
|
# This won't work for projects that have upstream Meson support. |
|
|
|
# This won't work for projects that have upstream Meson support. |
|
|
|