mercurial/chgserver.py
changeset 51689 39e2b2d062c1
parent 51288 8b2ea2246a5f
child 51700 7f0cb9ee0534
equal deleted inserted replaced
51688:25e7f9dcad0f 51689:39e2b2d062c1
   149     - mercurial/__version__.py
   149     - mercurial/__version__.py
   150     - python binary
   150     - python binary
   151     """
   151     """
   152     modules = [m for n, m in extensions.extensions(ui)]
   152     modules = [m for n, m in extensions.extensions(ui)]
   153     try:
   153     try:
   154         from . import __version__
   154         from . import __version__  # type: ignore
   155 
   155 
   156         modules.append(__version__)
   156         modules.append(__version__)
   157     except ImportError:
   157     except ImportError:
   158         pass
   158         pass
   159     files = []
   159     files = []