How to tell revlog and revlogng apart

Matt Mackall mpm at selenic.com
Mon Apr 9 15:50:37 UTC 2012


On Mon, 2012-04-09 at 17:43 +0200, Wujek Srujek wrote:
> Hi. Ok, I'll look in the code.
> But I think you got me wrong: I am not trying to write a mercurial clone; I
> am trying to learn a bit of python while getting to know mercurial (a tiny
> bit) better from the inside - and all I am doing is to write some code to
> read the revlogs (dirstate was too easy). It is better than 'hello, world',
> so I wouldn't consider it a waste of my time, though, you are being a
> little harsh here ;d

You'll learn a LOT more by reading the code. The obvious place to start:
revlog.py.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list