##// END OF EJS Templates
localrepo: use absolute_import
Gregory Szorc -
r27522:79853585 default
parent child Browse files
Show More
@@ -4,21 +4,60 b''
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 from node import hex, nullid, wdirrev, short
7
8 from i18n import _
8 from __future__ import absolute_import
9
10 import errno
11 import inspect
12 import os
13 import random
14 import time
9 import urllib
15 import urllib
10 import peer, changegroup, subrepo, pushkey, obsolete, repoview
16 import weakref
11 import changelog, dirstate, filelog, manifest, context, bookmarks, phases
17
12 import lock as lockmod
18 from .i18n import _
13 import transaction, store, encoding, exchange, bundle2
19 from .node import (
14 import scmutil, util, extensions, hook, error, revset, cmdutil
20 hex,
15 import match as matchmod
21 nullid,
16 import merge as mergemod
22 short,
17 import tags as tagsmod
23 wdirrev,
18 from lock import release
24 )
19 import weakref, errno, os, time, inspect, random
25 from . import (
20 import branchmap, pathutil
26 bookmarks,
21 import namespaces
27 branchmap,
28 bundle2,
29 changegroup,
30 changelog,
31 cmdutil,
32 context,
33 dirstate,
34 encoding,
35 error,
36 exchange,
37 extensions,
38 filelog,
39 hook,
40 lock as lockmod,
41 manifest,
42 match as matchmod,
43 merge as mergemod,
44 namespaces,
45 obsolete,
46 pathutil,
47 peer,
48 phases,
49 pushkey,
50 repoview,
51 revset,
52 scmutil,
53 store,
54 subrepo,
55 tags as tagsmod,
56 transaction,
57 util,
58 )
59
60 release = lockmod.release
22 propertycache = util.propertycache
61 propertycache = util.propertycache
23 filecache = scmutil.filecache
62 filecache = scmutil.filecache
24
63
@@ -106,7 +106,6 b''
106 mercurial/httpclient/_readers.py not using absolute_import
106 mercurial/httpclient/_readers.py not using absolute_import
107 mercurial/httpclient/socketutil.py not using absolute_import
107 mercurial/httpclient/socketutil.py not using absolute_import
108 mercurial/keepalive.py requires print_function
108 mercurial/keepalive.py requires print_function
109 mercurial/localrepo.py not using absolute_import
110 mercurial/lsprof.py requires print_function
109 mercurial/lsprof.py requires print_function
111 mercurial/lsprofcalltree.py requires print_function
110 mercurial/lsprofcalltree.py requires print_function
112 mercurial/mail.py requires print_function
111 mercurial/mail.py requires print_function
General Comments 0
You need to be logged in to leave comments. Login now