comparison mercurial/extensions.py @ 25946:5e0d80195a0f

extensions: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 08 Aug 2015 19:13:14 -0700
parents 328739ea70c3
children 1aee2ab0f902
comparison
equal deleted inserted replaced
25945:147bd9e238a1 25946:5e0d80195a0f
3 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com> 3 # Copyright 2005-2007 Matt Mackall <mpm@selenic.com>
4 # 4 #
5 # This software may be used and distributed according to the terms of the 5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 7
8 import imp, os 8 from __future__ import absolute_import
9 import util, cmdutil, error 9
10 from i18n import _, gettext 10 import imp
11 import os
12
13 from .i18n import (
14 _,
15 gettext,
16 )
17
18 from . import (
19 cmdutil,
20 error,
21 util,
22 )
11 23
12 _extensions = {} 24 _extensions = {}
13 _aftercallbacks = {} 25 _aftercallbacks = {}
14 _order = [] 26 _order = []
15 _ignore = ['hbisect', 'bookmarks', 'parentrevspec', 'interhg', 'inotify'] 27 _ignore = ['hbisect', 'bookmarks', 'parentrevspec', 'interhg', 'inotify']