hgext/__init__.py
author Gregory Szorc <gregory.szorc@gmail.com>
Wed, 30 Jan 2019 17:22:07 -0800
changeset 41498 7f366dd3df1f
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
hg: raise Abort on invalid path Currently, some os.path functions when opening repositories may raise an uncaught TypeError or ValueError if the path is invalid. Let's catch these exceptions and turn them into an Abort for convenience. Differential Revision: https://phab.mercurial-scm.org/D5772

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