hgext/__init__.py
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 27 Sep 2019 00:09:43 +0200
changeset 43024 15badd621825
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
context: clarify the various mode in the filesremoved method The previous code was compact but a bit dense. The new proposed code deal with each mode separately, there are some duplicated lines, but the meaning of each mode stand out. One of the benefit it to make it simpler to add further mode in the future. Differential Revision: https://phab.mercurial-scm.org/D6932

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