recover files from revlog

Erik Haugen haugen at gmail.com
Fri Sep 2 18:25:37 UTC 2022


manifest.i is 4.1K:

$ ls -hl .hg/store/00manifest.i
-rwxr-xr-x 1 ech ech 4.1K Aug 28 02:13 .hg/store/00manifest.i

ls .hg/
last-message.txt  shamap  store  undo.dirstate  wcache

there's no strip-backup

Thanks!!
-erik

On Thu, Sep 1, 2022 at 12:36 PM Augie Fackler <raf at durin42.com> wrote:

> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20220902/70839b54/attachment.html>


More information about the Mercurial mailing list