##// END OF EJS Templates
branchmap: use absolute_import
Gregory Szorc -
r25918:47f36e05 default
parent child Browse files
Show More
@@ -5,13 +5,28 b''
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 from node import bin, hex, nullid, nullrev
8 from __future__ import absolute_import
9 import encoding
9
10 import scmutil
10 import array
11 import util
11 import struct
12 import time
12 import time
13 from array import array
13
14 from struct import calcsize, pack, unpack
14 from .node import (
15 bin,
16 hex,
17 nullid,
18 nullrev,
19 )
20 from . import (
21 encoding,
22 scmutil,
23 util,
24 )
25
26 array = array.array
27 calcsize = struct.calcsize
28 pack = struct.pack
29 unpack = struct.unpack
15
30
16 def _filename(repo):
31 def _filename(repo):
17 """name of a branchcache file for a given repo or repoview"""
32 """name of a branchcache file for a given repo or repoview"""
General Comments 0
You need to be logged in to leave comments. Login now