Groking the Mercurial

Thomas Arendsen Hein thomas at
Sat Sep 8 04:58:08 CDT 2007

* Essien Ita Essien <me at> [20070907 15:24]:
> I want to describe my thoughts here and please someone point my brain in 
> the right direction when I make a mistake.

Some hints:
- Try to understand the filelog/manifest/changelog hierarchy first
  and ignore everything you might know about contexts.
- All these various revlogs are append-only, so you can't remove
  things. Removing files from the next changelog revision is done by
  appending a new manifest revision which no longer lists the file.
- Contexts just present a view on these revlogs or on the working
  dir in a unified way. Don't look at them to understand the design,
  only look at them to use them as an API :)


thomas at - - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner

More information about the Mercurial-devel mailing list