mercurial/__init__.py
author Matt Harbison <matt_harbison@yahoo.com>
Fri, 19 Mar 2021 00:36:26 -0400
changeset 46898 e1d75c514ced
parent 43106 d783f945a701
child 48966 6000f5b25c9b
permissions -rw-r--r--
tests: add a (very slow) test that executes pytype This is an updated form of D7295, and completes successfully with pytype 2021.03.22. The 5 or so crashes that were mostly in the hgweb files seems to have been fixed in 2021.03.10. Differential Revision: https://phab.mercurial-scm.org/D10237

# __init__.py - Startup and module loading logic for Mercurial.
#
# Copyright 2015 Gregory Szorc <gregory.szorc@gmail.com>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.

from __future__ import absolute_import

# Allow 'from mercurial import demandimport' to keep working.
import hgdemandimport

demandimport = hgdemandimport