How to tell revlog and revlogng apart

Wujek Srujek wujek.srujek at googlemail.com
Mon Apr 9 09:54:46 UTC 2012


Hi. I seem not to be able to find a description how to tell revlog and
revlogng formats apart. revlogng has the first 4 bytes (big endian) serving
as the header (which actually are the offset of the first entry, always 0),
where the low word is the format (currently only 1?) and the high word is
the flags (currently only lowest bit: inline or not?). How about the old
revlog format? How can I tell what file I am working with? Is the offset
(first 4 bytes) always 0s? Can the old format be used even if the repo
requires 'store'?

wujek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20120409/76fcc22e/attachment-0002.html>


More information about the Mercurial mailing list