cleanups in revlog.lookup
- add comments
- do a clean separation of the different cases
- don't use a list of each possible node when
doing the lookup, just keep the previous entry
#header## HG changeset patch# User #author## Date #date|hgdate## Node ID #node##parent%changesetparent##desc##diff#