revlog: reorder index accessors to match data structure order
Index entries are ordered tuples. We have accessors in the revlog
class to map tuple offsets to names. To help reinforce the order,
reorder the methods so they match the order of elements in the
tuple. While I'm here, also sneak in some minimal documentation.
#require py3exe
This test helps in keeping a track on which commands we can run on
Python 3 and see what kind of errors are coming up.
The full traceback is hidden to have a stable output.
$ for cmd in version debuginstall ; do
> echo $cmd
> $PYTHON3 `which hg` $cmd 2>&1 2>&1 | tail -1
> done
version
TypeError: str expected, not bytes
debuginstall
TypeError: str expected, not bytes