我正在尝试更新我们的团队已经使用一段时间的回购协议上对Mercurial所做的最新更改。

C:\code\printlogix\templates-dev>hg update --clean
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
getting changed bfiles
abort: repository 'https://printlogix.kilnhg.com/Code/Repositories/Templates/templates-dev' is not local

C:\code\printlogix\templates-dev>


不确定此“存储库xxxx不是本地”消息的含义,我以前从未见过。

作为参考,我使用Windows 7 x64上的TortoiseHg 2.5.1(带有Mercurial 2.3.2)。我们还使用KilnBfiles扩展名。

最佳答案

远射,但是我遇到了这个问题(hg v 2.4.2),查看了调试输出,发现了以下内容。

calling hook preupdate.eol: <function preupdate at 0x000000000263A048>
lock: reading lock data from c9a8f1b931da
lock: reading d:\kev\htmapp\.hglocks@c9a8f1b931da <---- RELEVANT CLUE
using https://code.google.com/p/htmapp/
sending capabilities command
code.google.com certificate successfully verified
Traceback (most recent call last):
  File "mercurial\dispatch.pyo", line 88, in _runcatch
  File "mercurial\dispatch.pyo", line 741, in _dispatch`


我使用的是hglocks扩展名,在与站点上的文档进行检查后,发现它与2.3之前的版本不兼容。禁用扩展名并解决问题。

关于mercurial - 进行HG更新时出现错误“存储库不在本地”,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/12802997/

10-14 17:48
查看更多