hgext/__init__.py
author Durham Goode <durham@fb.com>
Tue, 20 Sep 2016 12:24:01 -0700
changeset 29960 da75bc36202c
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
manifest: remove dependency on treeinmem from manifest.add Currently manifest.add uses the treeinmem option to know if it can call fastdelta on the given manifest instance. In a future patch we will be moving add() to be on the manifestrevlog, so it won't have access to the treeinmem option anymore. Instead, let's have it actually check if the given manifest instance supports the fastdelta operation. This also means that if treemanifest or any implementation eventually implements fastdelta(), it will automatically benefit from this code path.

from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)