revlog: add some direct testing of the slicing logic
This test check slicing backed by an actual revlog. It will test the C version
of slicing (if the test are run with the C extensions).
#require docutils gettext $ $TESTDIR/check-gendoc zh_TW checking for parse errors