view hgext/__init__.py @ 48723:27fe84a8dd60

obsolete: always return frozensets from obsolete.getrevs() getrevs function already returns an empty frozenset when there is no obsstore, but let's make sure to return a frozenset in any case. This makes it possible to use the result of this function as a dict key or provide it to hash() built-in function without any conversions. Differential Revision: https://phab.mercurial-scm.org/D12156
author Anton Shestakov <av6@dwimlabs.net>
date Mon, 07 Feb 2022 12:25:46 +0300
parents 2372284d9457
children 6000f5b25c9b
line wrap: on
line source

from __future__ import absolute_import
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)