hgext3rd/__init__.py
author Gregory Szorc <gregory.szorc@gmail.com>
Thu, 06 Jul 2017 14:33:18 -0700
changeset 33321 d09e948dc303
parent 28541 4b81487a01d4
child 43076 2372284d9457
permissions -rw-r--r--
sparse: move pruning of temporary includes into core This was our last method on the custom repo type, meaning we could remove that custom type and inline the 2 lines of code into reposetup(). As part of the move, instead of wrapping merge.update() from the sparse extension, we inline the function call. The ported function now no-ops if sparse isn't enabled, making it safe to always call. The call site in update() may not be the most appropriate. But it matches the previous behavior, which is the safest thing to do. It can be improved later.

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