hgext3rd/__init__.py
author Boris Feld <boris.feld@octobus.net>
Thu, 16 Aug 2018 02:08:13 +0200
changeset 39356 729082bb9938
parent 28541 4b81487a01d4
child 43076 2372284d9457
permissions -rw-r--r--
revlog: split constants into a new `revlogutils.constants` module We want to split some logic out of the main revlog file (the delta computing logic). However, this logic needs access to multiple constants related to the revlog. So we move all revlog related constants into a new module that could be imported from multiple places. We don't copy the file (preserving blame history) because there are only a few moving lines. Also, copying the file would result in annoying merge conflicts with ongoing work from others contributors.

# name space package to host third party extensions
from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)