当我尝试执行 hg status 命令时,Mercurial将我 ValueError:在dirstate中溢出错误。
hg log 和 hg diff 命令正常工作。
你有办法修复我的回购吗?
输出 hg status 命令
12:12 user@host ~/projects/nsr% hg st
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.9 (default, Jun 29 2016, 13:08:31) [GCC 4.9.2]
** Mercurial Distributed SCM (version 3.9.1)
** Extensions loaded: extdiff, color, graphlog, rebase, strip, mq, shelve, churn, purge, record
Traceback (most recent call last):
File "/usr/bin/hg", line 45, in <module>
mercurial.dispatch.run()
.....
File "/usr/lib/python2.7/dist-packages/mercurial/util.py", line 888, in wrapper
return func(*args, **kwargs)
ValueError: overflow in dirstate
zsh: exit 1 hg st
答案 0 :(得分:3)
最后,
我找到了解决方案并使用此命令修复了我的存储库:
hg debugrebuildstate -r tip