# HG changeset patch # User Anton Shestakov <av6@dwimlabs.net> # Date 2023-01-25 15:27:50 # Node ID 5df6d4f06a8f5abdba490beee84de971ff95c0fe # Parent 42baf12efd210caef2465a3013096448df981e8f hghave: make different has_pyoxidizer functions have different names There are 3 of them, and them all having the same name triggered code checkers. diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -206,7 +206,7 @@ def has_pyoxidizer(): "pyoxidizer-in-memory", "running with pyoxidizer build as 'hg' with embedded resources", ) -def has_pyoxidizer(): +def has_pyoxidizer_mem(): return 'PYOXIDIZED_IN_MEMORY_RSRC' in os.environ @@ -214,7 +214,7 @@ def has_pyoxidizer(): "pyoxidizer-in-filesystem", "running with pyoxidizer build as 'hg' with external resources", ) -def has_pyoxidizer(): +def has_pyoxidizer_fs(): return 'PYOXIDIZED_FILESYSTEM_RSRC' in os.environ