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
3210 files updated, 0 files merged, 1 files removed, 0 files unresolvedsub/b not presentsub not present