腐败的mercurial存储库 - 无法更新

时间:2010-04-01 19:41:18

标签: mercurial corrupt

我认为香港专业教育学院设法腐败了一个善变的存储库,无论如何要恢复损害?尝试将repo更新为我的默认分支时收到的消息是:

PS C:\wco\projects\ims\code> hg up -C default
abort: data/Trunk/application/models/priority_model.php.i@83dbdfb60981: no match found!

当我运行hg verify时,我收到以下报告:

PS C:\wco\projects\ims\code> hg verify
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
 data/.buildpath.i@0: missing revlog!
 0: empty or missing .buildpath
 .buildpath@0: daf15acb5273 in manifests not found
 data/.project.i@0: missing revlog!
 0: empty or missing .project
 .project@0: e8b25997d6d1 in manifests not found
 Rawlings IMS/index.html@3: empty or missing copy source revlog index.html:b8b2b36a6eea
 Rawlings IMS/index.php@3: empty or missing copy source revlog index.php:a5f76bf232e9
 Rawlings IMS/index_backup.php@3: empty or missing copy source revlog index_backup.php:a5f76bf232e9
 Rawlings IMS/index_this_hold.html@3: empty or missing copy source revlog index_this_hold.html:b8b2b36a6eea
 Rawlings IMS/testera.php@3: empty or missing copy source revlog testera.php:6e9e3666c1bc
 Trunk/application/models/priority_model.php@32: 83dbdfb60981 in manifests not found
 data/index.html.i@0: missing revlog!
 0: empty or missing index.html
 index.html@0: b8b2b36a6eea in manifests not found
 data/index.php.i@0: missing revlog!
 0: empty or missing index.php
 index.php@0: a5f76bf232e9 in manifests not found
 data/index_backup.php.i@0: missing revlog!
 0: empty or missing index_backup.php
 index_backup.php@0: a5f76bf232e9 in manifests not found
 data/index_this_hold.html.i@0: missing revlog!
 0: empty or missing index_this_hold.html
 index_this_hold.html@0: b8b2b36a6eea in manifests not found
 data/nbproject/project.properties.i@14: missing revlog!
 14: empty or missing nbproject/project.properties
 nbproject/project.properties@14: 1efa3074378b in manifests not found
 data/nbproject/project.xml.i@14: missing revlog!
 14: empty or missing nbproject/project.xml
 nbproject/project.xml@14: 52689bf2b35a in manifests not found
 data/rcrawley/.buildpath.i@9: missing revlog!
 9: empty or missing rcrawley/.buildpath
 rcrawley/.buildpath@9: 2c6411d4fcff in manifests not found
 data/rcrawley/.project.i@9: missing revlog!
 9: empty or missing rcrawley/.project
 rcrawley/.project@9: cb4b1495acab in manifests not found
 data/rcrawley/assets/images/ajax-loader.gif.i@9: missing revlog!
 9: empty or missing rcrawley/assets/images/ajax-loader.gif
 rcrawley/assets/images/ajax-loader.gif@9: 8ef26516c7da in manifests not found
 data/rcrawley/index.html.i@9: missing revlog!
 9: empty or missing rcrawley/index.html
 rcrawley/index.html@9: 545246299dee in manifests not found
 data/rcrawley/index.php.i@9: missing revlog!
 9: empty or missing rcrawley/index.php
 rcrawley/index.php@9: 66eac798ed6d in manifests not found
 data/rcrawley/index_backup.php.i@9: missing revlog!
 9: empty or missing rcrawley/index_backup.php
 rcrawley/index_backup.php@9: 93971228fbf5 in manifests not found
 data/rcrawley/system/index.html.i@9: missing revlog!
 9: empty or missing rcrawley/system/index.html
 rcrawley/system/index.html@9: 17360d3b566e in manifests not found
 data/rcrawley/testera.php.i@9: missing revlog!
 9: empty or missing rcrawley/testera.php
 rcrawley/testera.php@9: 7d9bd5196740 in manifests not found
 data/testera.php.i@0: missing revlog!
 0: empty or missing testera.php
 testera.php@0: 6e9e3666c1bc in manifests not found
1646 files, 59 changesets, 1897 total revisions
57 integrity errors encountered!
(first damaged changeset appears to be 0)

由于第一个损坏的变更集为0,这似乎是非常终端的。反正有吗?

任何帮助将不胜感激。

2 个答案:

答案 0 :(得分:2)

hg.ignoreerrors还会在读取源时忽略丢失的revlog错误,这可能对修复存储库损坏的存储库很有用。将此选项设置为True并从Mercurial转换为Mercurial。

https://www.mercurial-scm.org/wiki/ConvertExtension

阅读this section(尝试hg转换)。

答案 1 :(得分:1)

你的回购出现了炒作 - 并将其作为错误报告发布给Mercurial bug tracker&在mercurial irc聊天室与mpm交谈,他非常乐于助人。