mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2025-10-26 06:06:06 +01:00
Fix corner case version calculation
This commit is contained in:
@@ -916,7 +916,7 @@ def init_version():
|
||||
version, _, extra = util.version().partition('+')
|
||||
version = list(int(e) for e in version.split('.'))
|
||||
if extra:
|
||||
version[1] += 1
|
||||
version[-1] += 1
|
||||
hg_version = tuple(version)
|
||||
except:
|
||||
hg_version = None
|
||||
|
||||
Reference in New Issue
Block a user