revlog: _segmentspan computes the byte span of a segment
Refactor out this code to be used somewhere else in a next changeset
# name space package to host third party extensionsfrom __future__ import absolute_importimport pkgutil__path__ = pkgutil.extend_path(__path__, __name__)