How to tell revlog and revlogng apart
Matt Mackall
mpm at selenic.com
Mon Apr 9 15:33:15 UTC 2012
On Mon, 2012-04-09 at 11:54 +0200, Wujek Srujek wrote:
> 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'?
At this level of detail, you need to read the source for answers. We're
not going to walk you through how to write a Mercurial clone on the
list. It's almost certainly a bad use of your time and it's definitely a
bad use of ours.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list