view hgext/__init__.py @ 41678:9d0d8793e847

branchmap: decode a label only once This moves decoding of a label out of for loop. Minor speed up expected in cases when one branch has multiple heads. For example: someone using bookmarks as branches and hence ending up with multiple heads on default branch. Differential Revision: https://phab.mercurial-scm.org/D5932
author Pulkit Goyal <pulkit@yandex-team.ru>
date Mon, 11 Feb 2019 15:41:08 +0300
parents 155e3308289c
children 2372284d9457
line wrap: on
line source

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