hgext/__init__.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Tue, 17 Jan 2017 17:25:48 +0100
changeset 31082 abb92b3d370e
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
hgweb: explictly pass basectx in webutil.diffs There's only one case where `basectx` parameter is None (over two usages), so it's probably not worth handling the special case as it makes code-reading harder. Along the way, use ctx.p1() instead of checking for ctx.parents() being empty which should not occur.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28450
155e3308289c hgext: officially turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 1360
diff changeset
     1
from __future__ import absolute_import
155e3308289c hgext: officially turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 1360
diff changeset
     2
import pkgutil
155e3308289c hgext: officially turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 1360
diff changeset
     3
__path__ = pkgutil.extend_path(__path__, __name__)