extensions: deprecate extsetup without a `ui` argument (API)
9.5 years should be enough time, but there were some tests for the old style still (which are now updated). Exthelper doesn't fallback to the old API, so this is for consistency. .. api:: The extension hook ``extsetup`` without a `ui` argument has been deprecated, and will be removed in the next version. Add a `ui` argument to avoid the deprecation warning.
Showing
- hgext/highlight/__init__.py 1 addition, 1 deletionhgext/highlight/__init__.py
- mercurial/extensions.py 2 additions, 0 deletionsmercurial/extensions.py
- tests/notcapable 1 addition, 1 deletiontests/notcapable
- tests/test-dirstate-race.t 1 addition, 1 deletiontests/test-dirstate-race.t
- tests/test-extension.t 2 additions, 2 deletionstests/test-extension.t
- tests/test-http-bundle1.t 1 addition, 1 deletiontests/test-http-bundle1.t
- tests/test-http.t 2 additions, 2 deletionstests/test-http.t
- tests/test-largefiles-wireproto.t 1 addition, 1 deletiontests/test-largefiles-wireproto.t
- tests/test-lfs-serve-access.t 1 addition, 1 deletiontests/test-lfs-serve-access.t
Loading
Please register or sign in to comment