hgext/__init__.py
author Martin von Zweigbergk <martinvonz@google.com>
Sat, 12 Oct 2019 11:13:55 -0700
changeset 43217 5cb3e6f4e069
parent 43076 2372284d9457
child 48875 6000f5b25c9b
permissions -rw-r--r--
fix: fix registration of config item defaults Before this patch, because of the "(:<name>)?", all registered patterns would match and the default value would not be the one we thought we had registered (maybe it just took the default value for the first match?). This didn't matter because we didn't care about the default value; we used our own, intended default value in getfixers() anyway. We also have to look up each config item individually in order to not get developer warnings. Differential Revision: https://phab.mercurial-scm.org/D7082

from __future__ import absolute_import
import pkgutil

__path__ = pkgutil.extend_path(__path__, __name__)