corrupt local repository

Uwe Brauer oub at mat.ucm.es
Mon Jun 8 15:20:07 UTC 2020


Hi

I started this morning a new repository and just found out that it is
corrupt, the first time since a long long time[1]

 hg verify gives
,----
| Agrup4/zip4/Calificaciones-19-221172-Entrega_Examen_4_1130-1200-4748998.csv at 0: manifest refers to unknown revision d2eca500b6a6
| checked 13 changesets with 71 changes to 102 files
| 39 warnings encountered!
| hint: run "hg debugrebuildfncache" to recover from corrupt fncache
| 81 integrity errors encountered!
| (first damaged changeset appears to be 0)
`----

(first damaged changeset appears to be 0) sounds really bad
hg debugrebuildfncache

Does not really help and I cannot commit any changes so, I am not sure
what to do, any advice would be welcome.

 Hg clone --pull repo repo-repair

abort: empty or missing file data for Agrup1/Calificaciones-Agrup1.org


As a method of last resort 

hg convert --config convert.hg.ignoreerrors=True Corr/ Repair

Worked not sure how much data I lost

Regards

Uwe Brauer 

Footnotes:
[1]  in the past it happened when I used rscync to copy a repository to
     an USB stick




More information about the Mercurial mailing list