recover files from revlog
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Fri Sep 2 20:24:19 UTC 2022
There is no `.hg/requires` file. So the respository is seems as "v0" the
ancient lecgacy pre-1.0 format. Since the 00changelog.i file is also
missing, the repository is seems as empty.
So, there is some missing file in this repository, this is concerning
(and we should find out how it happened)
Can we get a `ls -l` of ` .hg/store`, this might be recoverable.
Can you also provide us with the output of `hg debugformat` for good
measure?
On 9/2/22 20:25, Erik Haugen wrote:
> 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
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at lists.mercurial-scm.org
> https://lists.mercurial-scm.org/mailman/listinfo/mercurial
--
Pierre-Yves David
More information about the Mercurial
mailing list