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
*** failed to import extension badext: invalid syntax (badext.py, line 1)hg help [COMMAND]show help for a command, extension, or list of commands