hgext/__init__.py
author Matt Harbison <matt_harbison@yahoo.com>
Fri, 23 Nov 2018 22:27:57 -0500
changeset 40751 246b61bfdc2f
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
procutil: don't allow the main 'hg' script to be treated as the Windows exe Previously, there were a handful of errors like this: $ hg prefetch --repack (running background incremental repack) + abort: %1 is not a valid Win32 application + [255] CreateProcess() doesn't append .exe when `lpApplicationName` contains a path, and a python script isn't directly executable.

from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)