No version string found in output of hg version.
字面意思就是执行hg version时,返回的信息中找不到version string。
很可能是语言设置问题。
只有在英文环境中返回内容才能正常处理。
例如:
执行
C:\> hg version
返回
Mercurial Distributed SCM (version 2.9.1)
(see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2014 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
如果返回的结果是其它语言就不能正常解析了。
可以验证下是不是这个原因,然后按照文档修复:https://confluence.atlassian.com/fishkb/bad-hg-executable-no-version-string-found-695240215.html