Mercurial > hg
comparison mercurial/tags.py @ 31360:37acdf027ae2
py3: drop unused aliases to array.array which are replaced with bytearray
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 12 Mar 2017 11:47:02 -0700 |
parents | 2a18e9e6ca43 |
children | 7d0459706716 |
comparison
equal
deleted
inserted
replaced
31359:73b3bee8febe | 31360:37acdf027ae2 |
---|---|
10 # Eventually, it could take care of updating (adding/removing/moving) | 10 # Eventually, it could take care of updating (adding/removing/moving) |
11 # tags too. | 11 # tags too. |
12 | 12 |
13 from __future__ import absolute_import | 13 from __future__ import absolute_import |
14 | 14 |
15 import array | |
16 import errno | 15 import errno |
17 | 16 |
18 from .node import ( | 17 from .node import ( |
19 bin, | 18 bin, |
20 hex, | 19 hex, |
25 encoding, | 24 encoding, |
26 error, | 25 error, |
27 scmutil, | 26 scmutil, |
28 util, | 27 util, |
29 ) | 28 ) |
30 | |
31 array = array.array | |
32 | 29 |
33 # Tags computation can be expensive and caches exist to make it fast in | 30 # Tags computation can be expensive and caches exist to make it fast in |
34 # the common case. | 31 # the common case. |
35 # | 32 # |
36 # The "hgtagsfnodes1" cache file caches the .hgtags filenode values for | 33 # The "hgtagsfnodes1" cache file caches the .hgtags filenode values for |