equal
deleted
inserted
replaced
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 __future__ import absolute_import |
8 from __future__ import absolute_import |
9 |
9 |
10 import array |
|
11 import struct |
10 import struct |
12 |
11 |
13 from .node import ( |
12 from .node import ( |
14 bin, |
13 bin, |
15 hex, |
14 hex, |
21 error, |
20 error, |
22 scmutil, |
21 scmutil, |
23 util, |
22 util, |
24 ) |
23 ) |
25 |
24 |
26 array = array.array |
|
27 calcsize = struct.calcsize |
25 calcsize = struct.calcsize |
28 pack = struct.pack |
26 pack = struct.pack |
29 unpack = struct.unpack |
27 unpack = struct.unpack |
30 |
28 |
31 def _filename(repo): |
29 def _filename(repo): |