mercurial/__init__.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 13 Dec 2022 09:59:22 +0100
changeset 50057 cf8b9c80d67c
parent 48875 6000f5b25c9b
child 51863 f4733654f144
permissions -rw-r--r--
dirstate: issue a developer warning on implicit write on wlock release Our goal is to get rid of all these to clarify the writing pattern, so it is time to warn about this (and later, forbid it).

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


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

demandimport = hgdemandimport