##// END OF EJS Templates
hg: use absolute_import
Gregory Szorc -
r25939:130c0b83 default
parent child Browse files
Show More
@@ -6,17 +6,41 b''
6 # This software may be used and distributed according to the terms of the
6 # This software may be used and distributed according to the terms of the
7 # GNU General Public License version 2 or any later version.
7 # GNU General Public License version 2 or any later version.
8
8
9 from i18n import _
9 from __future__ import absolute_import
10 from lock import release
10
11 from node import nullid
11 import errno
12 import os
13 import shutil
14
15 from .i18n import _
16 from .node import nullid
12
17
13 import localrepo, bundlerepo, unionrepo, httppeer, sshpeer, statichttprepo
18 from . import (
14 import bookmarks, lock, util, extensions, error, node, scmutil, phases, url
19 bookmarks,
15 import cmdutil, discovery, repoview, exchange
20 bundlerepo,
16 import ui as uimod
21 cmdutil,
17 import merge as mergemod
22 discovery,
18 import verify as verifymod
23 error,
19 import errno, os, shutil
24 exchange,
25 extensions,
26 httppeer,
27 localrepo,
28 lock,
29 merge as mergemod,
30 node,
31 phases,
32 repoview,
33 scmutil,
34 sshpeer,
35 statichttprepo,
36 ui as uimod,
37 unionrepo,
38 url,
39 util,
40 verify as verifymod,
41 )
42
43 release = lock.release
20
44
21 def _local(path):
45 def _local(path):
22 path = util.expandpath(util.urllocalpath(path))
46 path = util.expandpath(util.urllocalpath(path))
General Comments 0
You need to be logged in to leave comments. Login now