corrupt local repository

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Jun 8 15:31:43 UTC 2020


Sounds like you have at least two different files whose data are 
missing. How have you been using your repository ? is the repository 
server side corrupted ?

On 6/8/20 5:20 PM, Uwe Brauer wrote:
> 
> 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
> 
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
> 

-- 
Pierre-Yves David



More information about the Mercurial mailing list