Fix obsolete repo version

This fix is temporary. A better long-term solution should be found, and a less
intrusive update strategy devised.
main
Fabien Benureau 9 years ago
parent b2dac68856
commit 29c6eaa8b5

@ -33,8 +33,8 @@ CORE_CMDS = collections.OrderedDict([
def _update_check(config, ui): def _update_check(config, ui):
if config.version_warning: if config.version_warning:
code_version = int(__version__) code_version = __version__.split('.')
repo_version = int(config.version) repo_version = ('0.{}.0'.format(config.version)).split('.') # FIXME
if repo_version > code_version: if repo_version > code_version:
ui.warning( ui.warning(

Loading…
Cancel
Save