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 hg pull补丁无法解码_Version Control_Mercurial - Fatal编程技术网

Version control hg pull补丁无法解码

Version control hg pull补丁无法解码,version-control,mercurial,Version Control,Mercurial,在尝试从回购中提取时,我得到以下错误 ** unknown exception encountered, please report by visiting ** https://mercurial-scm.org/wiki/BugTracker ** Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)] ** Mercurial Distributed SCM (version 3.6.1) ** E

在尝试从回购中提取时,我得到以下错误

** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)]
** Mercurial Distributed SCM (version 3.6.1)
** Extensions loaded: eol, tortoisehg.util.hgcommands, tortoisehg.util.partialcommit, tortoisehg.util.pipeui, tortoisehg.util.win32ill, tortoisehg.util.hgdispatch
Traceback (most recent call last):
  File "hg", line 49, in <module>
  File "mercurial\dispatch.pyo", line 54, in run
  File "mercurial\dispatch.pyo", line 116, in dispatch
  File "mercurial\dispatch.pyo", line 187, in _runcatch
  File "mercurial\dispatch.pyo", line 920, in _dispatch
  File "mercurial\dispatch.pyo", line 679, in runcommand
  File "mercurial\dispatch.pyo", line 1051, in _runcommand
  File "mercurial\dispatch.pyo", line 1011, in checkargs
  File "mercurial\dispatch.pyo", line 917, in <lambda>
  File "mercurial\util.pyo", line 801, in check
  File "mercurial\commands.pyo", line 5920, in serve
  File "mercurial\cmdutil.pyo", line 832, in service
  File "mercurial\commandserver.pyo", line 290, in run
  File "mercurial\commandserver.pyo", line 243, in serve
  File "mercurial\commandserver.pyo", line 221, in serveone
  File "mercurial\commandserver.pyo", line 204, in runcommand
  File "mercurial\dispatch.pyo", line 116, in dispatch
  File "mercurial\dispatch.pyo", line 187, in _runcatch
  File "mercurial\extensions.pyo", line 183, in closure
  File "tortoisehg\util\hgdispatch.pyo", line 23, in _dispatch
  File "mercurial\dispatch.pyo", line 920, in _dispatch
  File "mercurial\dispatch.pyo", line 679, in runcommand
  File "mercurial\dispatch.pyo", line 1051, in _runcommand
  File "mercurial\dispatch.pyo", line 1011, in checkargs
  File "mercurial\dispatch.pyo", line 917, in <lambda>
  File "mercurial\util.pyo", line 801, in check
  File "mercurial\commands.pyo", line 5282, in pull
  File "mercurial\hg.pyo", line 170, in peer
  File "mercurial\hg.pyo", line 152, in _peerorrepo
  File "hgext\eol.pyo", line 354, in reposetup
  File "hgext\eol.pyo", line 299, in _hgcleardirstate
  File "hgext\eol.pyo", line 292, in loadeol
  File "hgext\eol.pyo", line 217, in parseeol
  File "mercurial\context.pyo", line 70, in __getitem__
  File "mercurial\context.pyo", line 563, in filectx
  File "mercurial\context.pyo", line 247, in filenode
  File "mercurial\context.pyo", line 239, in _fileinfo
  File "mercurial\manifest.pyo", line 965, in find
  File "mercurial\manifest.pyo", line 956, in read
  File "mercurial\revlog.pyo", line 1115, in revision
mpatch.mpatchError: patch cannot be decoded
cmdserver: process exited unexpectedly with code 255
“损坏”并不意味着存在中断的事务;hg会在推或拉的时候告诉你。这意味着存储库状态本身有问题(在您的案例中,从修订版302开始)。某些东西篡改了.hg目录中的文件,随后hg丢失了它认为应该拥有的关于存储库历史的信息

查看
hg verify
的确切输出将是一件有趣的事情

尝试使用
hg clone-r301
克隆回购协议的健康部分,然后尝试从损坏的存储库中恢复尽可能多的内容。根据
hg verify
告诉您的错误,给出更详细的建议

pulling from /Volumes/SourceRepo/Yoda/BSD_Transformation
searching for changes
adding changesets
python(41809,0x7fff7592e000) malloc: *** error for object 0x7fc872603058: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6