mercurial/__init__.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Tue, 14 Feb 2023 20:04:17 +0100
changeset 50050 3128018e878b
parent 48966 6000f5b25c9b
permissions -rw-r--r--
transaction: run abort callback in all cases Previously, these possibly important callback were "forgotten" when running a quick rollback. This is now fixed, as the tests shown.

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