hgext/__init__.py
author Gregory Szorc <gregory.szorc@gmail.com>
Thu, 06 Sep 2018 11:40:20 -0700
changeset 39581 2dcc68c7d25b
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
util: ability to change capacity when copying lrucachedict This will allow us to easily replace an lrucachedict with one with a higher or lower capacity as consumers deem necessary. IMO it is easier to just create a new cache instance than to muck with the capacity of an existing cache. Mutating an existing cache's capacity feels more prone to bugs. Differential Revision: https://phab.mercurial-scm.org/D4500

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