revlog: simplify "partial read" error message
We are about to reuse this message in more places and the current handling is
pretty hard to read. So we eat two pie with one stone and clean up this.
Differential Revision: https://phab.mercurial-scm.org/D10784
from __future__ import absolute_importimport pkgutil__path__ = pkgutil.extend_path(__path__, __name__)