mercurial/__init__.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 01 Dec 2020 15:11:06 +0100
changeset 46047 4b89cf08d8dc
parent 43106 d783f945a701
child 48875 6000f5b25c9b
permissions -rw-r--r--
upgrade: split definition and management of the actions from the main code This is a second step to clarify and clean up this code. The code responsible for definition which action exist, are possible and their compatibility if moved into a sub module. This clarify the main code and prepare further cleanup. Differential Revision: https://phab.mercurial-scm.org/D9477

# __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