mirror of https://gitlab.com/ita1024/waf.git
Improve error message about version mismatch (#1902)
This commit is contained in:
parent
e82884e404
commit
86e77ef5c3
|
@ -296,7 +296,8 @@ class BuildContext(Context.Context):
|
|||
pass
|
||||
else:
|
||||
if env.version < Context.HEXVERSION:
|
||||
raise Errors.WafError('Version mismatch! reconfigure the project')
|
||||
raise Errors.WafError('Project was configured with a different version of Waf.\n'
|
||||
'Please reconfigure it (this will discard old build information).')
|
||||
for t in env.tools:
|
||||
self.setup(**t)
|
||||
|
||||
|
|
Loading…
Reference in New Issue