equal
deleted
inserted
replaced
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'] |