我目前面临通过窑连接到回购的问题。我在同一个网络上有两台机器,一台运行 Windows Server 2016,另一台运行 Windows 10。
两台机器都运行 TortoiseHg 4.3.1 和 Mercurial 4.3.1。
Windows Server 机器似乎能够很好地克隆 repo
hg clone https://<NAME.KILNHG>/Code/Repositories/Group/Test
系统提示我输入用户名/密码,这很好,并且 repo 设法克隆到机器
但是,在 Windows 10 机器上尝试确切的东西时,我收到错误“中止:授权失败”
hg clone --debug --traceback https://<NAME.KILNHG>/Code/Repositories/Group/Test
using https://<NAME.KILNHG>/Code/Repositories/Group/Test
sending capabilities command
using auth.kiln.* for authentication
using auth.kiln.* for authentication
http authorization required for https://<NAME.KILNHG>/Code/Repositories/Group/Test
realm: kiln
user: MyUserName
password:
http auth: user MyUserName, password ********
using auth.kiln.* for authentication
http auth: user MyUserName, password ********
Traceback (most recent call last):
File "mercurial\scmutil.pyo", line 150, in callcatch
File "mercurial\dispatch.pyo", line 292, in _runcatchfunc
File "mercurial\dispatch.pyo", line 896, in _dispatch
File "mercurial\dispatch.pyo", line 658, in runcommand
File "mercurial\dispatch.pyo", line 904, in _runcommand
File "mercurial\dispatch.pyo", line 893, in <lambda>
File "mercurial\util.pyo", line 1077, in check
File "mercurial\commands.pyo", line 1410, in clone
File "mercurial\hg.pyo", line 483, in clone
File "mercurial\hg.pyo", line 178, in peer
File "mercurial\hg.pyo", line 153, in _peerorrepo
File "mercurial\httppeer.pyo", line 391, in instance
File "mercurial\httppeer.pyo", line 123, in _fetchcaps
File "mercurial\httppeer.pyo", line 301, in _call
File "mercurial\httppeer.pyo", line 233, in _callstream
Abort: authorization failed
abort: authorization failed
我不确定在这一点上是什么阻止了这一点。
任何帮助将不胜感激。