Mercurial > hg-git-serve
diff src/hgext3rd/hggit_serve/__init__.py @ 12:f630d9904ea7
Reorganize project into multiple files.
| author | Paul Fisher <paul@pfish.zone> |
|---|---|
| date | Wed, 18 Feb 2026 16:17:05 -0500 |
| parents | src/hgext3rd/hggit_serve.py@ce204bcc4e04 |
| children | 00bdfac5416c |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/hgext3rd/hggit_serve/__init__.py Wed Feb 18 16:17:05 2026 -0500 @@ -0,0 +1,34 @@ +from __future__ import annotations + +import typing as t + +if t.TYPE_CHECKING: + import mercurial.ui as hgui + +from . import _export +from . import _http + +# +# Interfacing with Mercurial +# + +__version__ = '0.2.1' +testedwith = b'7.1 7.2' +minimumhgversion = b'7.1' + + +def uisetup(ui: hgui.ui) -> None: + _http.uisetup(ui) + + +def uipopulate(ui: hgui.ui) -> None: + _export.uipopulate(ui) + + +__all__ = ( + '__version__', + 'minimumhgversion', + 'testedwith', + 'uipopulate', + 'uisetup', +)
