upgrade: split actual upgrade code away from the main module
The main module is getting big and hard to follow. So we are splitting all the logic to actually run an upgrade in a sub module. It nicely highlight that there are very few actual call point to the code we just moved. Differential Revision: https://phab.mercurial-scm.org/D9476
Showing
- hgext/lfs/wrapper.py 3 additions, 1 deletionhgext/lfs/wrapper.py
- mercurial/upgrade.py 11 additions, 491 deletionsmercurial/upgrade.py
- mercurial/upgrade_utils/__init__.py 0 additions, 0 deletionsmercurial/upgrade_utils/__init__.py
- mercurial/upgrade_utils/engine.py 4 additions, 996 deletionsmercurial/upgrade_utils/engine.py
- setup.py 1 addition, 0 deletionssetup.py
- tests/testlib/ext-sidedata.py 3 additions, 2 deletionstests/testlib/ext-sidedata.py
Loading
Please register or sign in to comment