Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Version control Mercurial ValueError:dirstate中溢出_Version Control_Mercurial - Fatal编程技术网

Version control Mercurial ValueError:dirstate中溢出

Version control Mercurial ValueError:dirstate中溢出,version-control,mercurial,Version Control,Mercurial,当我尝试执行一个hgstatus命令时,Mercurial向我发出ValueError:dirstate中溢出error 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/BugTrac

当我尝试执行一个hgstatus命令时,Mercurial向我发出ValueError:dirstate中溢出error

hg loghg 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
12:12user@host~/projects/nsr%hg st
**遇到未知异常,请访问报告
** https://mercurial-scm.org/wiki/BugTracker
**Python 2.7.9(默认值,2016年6月29日,13:08:31)[GCC 4.9.2]
**Mercurial分布式SCM(版本3.9.1)
**加载的扩展:extdiff、color、graphlog、rebase、strip、mq、shelve、搅动、清除、记录
回溯(最近一次呼叫最后一次):
文件“/usr/bin/hg”,第45行,在
mercurial.dispatch.run()
.....
包装器中的文件“/usr/lib/python2.7/dist-packages/mercurial/util.py”,第888行
返回函数(*args,**kwargs)
ValueError:dirstate中溢出
zsh:hg街1号出口
最后

我使用以下命令找到了解决方案并修复了我的存储库:

hg debugrebuildstate -r tip

没有为我工作,只是提出了相同的
值错误:dirstate中的溢出
证明我的同步软件(Pcloud)很糟糕,并且制作了一个冲突的文件副本
。hg/dirstate
-恢复到文件的早期版本
dirstate
修复了它-有关repo损坏的一般信息,请参阅