Mercurial Missing Revlog

前端 未结 2 1493
忘掉有多难
忘掉有多难 2021-01-17 16:46

I\'m receiving a \"missing revlog\" error when using Mercurial (via TortoiseHg). Does anybody know how to fix this repo?

% hg --repository C:\\Source\\Projec         


        
2条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-17 17:18

    The Mercurial wiki has a page on Repository Corruption. If the solution suggested by @Cat Plus Plus does not work for you, then you may attempt to reconstruct the revlog.

    There is a section with step-by-step instructions for reconstructing missing revlogs. However, you must have a copy o the problem file as it existed in the "bad" revision.

    In your case, you would need an exact copy of data/MyProject.Class.Library.Tests/Part/FileName.cs.orig as it existed in revision 1 of the repo.

提交回复
热议问题