mercurial/tags.py
changeset 31360 37acdf027ae2
parent 31346 2a18e9e6ca43
child 31668 7d0459706716
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