recover files from revlog

Erik Haugen haugen at gmail.com
Mon Aug 29 13:56:24 UTC 2022


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


More information about the Mercurial mailing list