##// END OF EJS Templates
config: move edition code in its own module...
config: move edition code in its own module We start to move code related to the command outside of the main commands modules for clarity. This also highlight some flaw in this code and the new flag are missing some error handling. However we will deal with them later. This move removes the needs for a few module import in the `commands.py` which I see as a good sign.

File last commit:

r52756:f4733654 default
r53314:c97e0fd2 default
Show More
__init__.py
13 lines | 412 B | text/x-python | PythonLexer
Gregory Szorc
mercurial: implement import hook for handling C/Python modules...
r27220 # __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.
Matt Harbison
typing: add `from __future__ import annotations` to most files...
r52756 from __future__ import annotations
Gregory Szorc
mercurial: implement import hook for handling C/Python modules...
r27220
Siddharth Agarwal
demandimport: move to separate package...
r32420 # Allow 'from mercurial import demandimport' to keep working.
import hgdemandimport
Augie Fackler
formatting: blacken the codebase...
r43346
Siddharth Agarwal
demandimport: move to separate package...
r32420 demandimport = hgdemandimport