hgext/__init__.py
author Martin von Zweigbergk <martinvonz@google.com>
Fri, 09 Sep 2016 16:42:41 -0700
changeset 1732 f4047fba5e90
parent 1619 5ef77a1d975c
permissions -rw-r--r--
templates: change {obsolete} to emit only "obsolete" or "" The {obsolete} template function can currently emit "stable", "unstable", "extinct", or "suspended". The distinction between "extinct" and "suspended" seems likely to be more confusing that enlightening, and "stable" and "unstable" are not even obsolete. Let's simplify it to just emit "obsolete" for obsolete changesets and "" for others. That will also make it much easier to test for obsolete changsets and do things like "if(obsolete, obsolete, troubles)".
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1619
5ef77a1d975c hgext: turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 519
diff changeset
     1
from __future__ import absolute_import
5ef77a1d975c hgext: turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 519
diff changeset
     2
import pkgutil
5ef77a1d975c hgext: turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 519
diff changeset
     3
__path__ = pkgutil.extend_path(__path__, __name__)
5ef77a1d975c hgext: turn 'hgext' into a namespace package
Pierre-Yves David <pierre-yves.david@fb.com>
parents: 519
diff changeset
     4