Show More
@@ -5,13 +5,28 b'' | |||
|
5 | 5 | # This software may be used and distributed according to the terms of the |
|
6 | 6 | # GNU General Public License version 2 or any later version. |
|
7 | 7 | |
|
8 | from node import bin, hex, nullid, nullrev | |
|
9 | import encoding | |
|
10 | import scmutil | |
|
11 |
import ut |
|
|
8 | from __future__ import absolute_import | |
|
9 | ||
|
10 | import array | |
|
11 | import struct | |
|
12 | 12 | import time |
|
13 | from array import array | |
|
14 | from struct import calcsize, pack, unpack | |
|
13 | ||
|
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 | 31 | def _filename(repo): |
|
17 | 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