Windows 10上的Tortoisehg工作台无法打开

时间:2018-06-27 15:40:09

标签: mercurial windows-10 bitbucket tortoisehg

我从官方网站here下载了tortoisehg应用程序,即4.6.1,当我单击tortoishg工作台时它没有打开且没有显示错误,甚至当我尝试使用命令行克隆时我收到此错误

adding changesets
adding manifests
adding file changes
transaction abort!
rollback completed
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 4.4.1)
** Extensions loaded:
Traceback (most recent call last):
  File "hg", line 61, in <module>
  File "mercurial\dispatch.pyo", line 85, in run
  File "mercurial\dispatch.pyo", line 173, in dispatch
  File "mercurial\dispatch.pyo", line 313, in _runcatch
  File "mercurial\dispatch.pyo", line 321, in _callcatch
  File "mercurial\scmutil.pyo", line 154, in callcatch
  File "mercurial\dispatch.pyo", line 303, in _runcatchfunc
  File "mercurial\dispatch.pyo", line 940, in _dispatch
  File "mercurial\dispatch.pyo", line 701, in runcommand
  File "mercurial\dispatch.pyo", line 948, in _runcommand
  File "mercurial\dispatch.pyo", line 937, in <lambda>
  File "mercurial\util.pyo", line 1183, in check
  File "mercurial\commands.pyo", line 1425, in clone
  File "mercurial\hg.pyo", line 670, in clone
  File "mercurial\exchange.pyo", line 1294, in pull
  File "mercurial\exchange.pyo", line 1936, in _maybeapplyclonebundle
  File "mercurial\exchange.pyo", line 2119, in trypullbundlefromurl
  File "mercurial\bundle2.pyo", line 342, in applybundle
  File "mercurial\bundle2.pyo", line 449, in processbundle
  File "mercurial\bundle2.pyo", line 456, in processparts
  File "mercurial\bundle2.pyo", line 523, in _processpart
  File "mercurial\bundle2.pyo", line 1620, in handlechangegroup
  File "mercurial\bundle2.pyo", line 459, in _processchangegroup
  File "mercurial\changegroup.pyo", line 341, in apply
  File "mercurial\changegroup.pyo", line 972, in _addchangegroupfiles
  File "mercurial\ui.pyo", line 1552, in progress
  File "mercurial\progress.pyo", line 301, in progress
  File "mercurial\progress.pyo", line 156, in show
    File "mercurial\encoding.pyo", line 227, in colwidth
   LookupError: unknown encoding: cp65001

我不知道问题是什么,我总是会安装应用程序,并且一切顺利,请告知我是否必须先安装任何东西或检查一切是否正常

预先感谢

1 个答案:

答案 0 :(得分:0)

我在正式问题列表中向here提问(感谢@DaveInCaz)后,得到了解决方法

” cp65001(UTF-8的Windows变体)在Python 2.x上似乎不受支持。

解决方法:设置HGENCODING = utf8环境变量。 “

这是link