hgext/__init__.py
author Jun Wu <quark@fb.com>
Sun, 12 Mar 2017 00:23:07 -0800
changeset 31575 e506e461c7a9
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
util: disable hardlink for copyfile if fstype is outside a whitelist Since osutil.getfstype is available, use it to detect filesystem types. The whitelist currently includes common local filesystems on Linux where they should have good hardlink support. We may add new filesystems for other platforms later.

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