recover files from revlog

Augie Fackler raf at durin42.com
Thu Sep 1 17:24:55 UTC 2022


That’s weird. Does `ls -hl .hg/store/00manifest.i` print anything, or is that file zero-length?

Is there anything in .hg/strip-backup?

> On Aug 29, 2022, at 9:56 AM, Erik Haugen <haugen at gmail.com> wrote:
> 
> I have a weird situation. This repository has lots of data:
> 
> $ du -h .hg | tail -1
> 9.0G    .hg
> 
> but mercurial seems to think there's nothing in it:
> $ hg up tip
> 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
> $ ls -a
> .  ..  .hg
> $ hg log
> $
> 
> I have a bunch of .d and .i files under .hg/store. Is there any way to recover originals from the .d?
> 
> If it matters, I'll note:
> * This is pretty old, that is it was created with a mercurial version from like 10 years ago, give or take.
> * There might just be one version of each file
> 
> Thanks for any help!
> -Erik
> _______________________________________________
> Mercurial mailing list
> Mercurial at lists.mercurial-scm.org
> https://lists.mercurial-scm.org/mailman/listinfo/mercurial



More information about the Mercurial mailing list