mercurial/dirstateutils/v2.py
changeset 48251 dfc5a505ddc5
parent 48231 0524c1359bfc
child 48260 269ff8978086
equal deleted inserted replaced
48250:1730b2fceaa1 48251:dfc5a505ddc5
    79 
    79 
    80 def parse_nodes(map, copy_map, data, start, len):
    80 def parse_nodes(map, copy_map, data, start, len):
    81     """parse <len> nodes from <data> starting at offset <start>
    81     """parse <len> nodes from <data> starting at offset <start>
    82 
    82 
    83     This is used by parse_dirstate to recursively fill `map` and `copy_map`.
    83     This is used by parse_dirstate to recursively fill `map` and `copy_map`.
       
    84 
       
    85     All directory specific information is ignored and do not need any
       
    86     processing (HAS_DIRECTORY_MTIME, ALL_UNKNOWN_RECORDED, ALL_IGNORED_RECORDED)
    84     """
    87     """
    85     for i in range(len):
    88     for i in range(len):
    86         node_start = start + NODE_SIZE * i
    89         node_start = start + NODE_SIZE * i
    87         node_bytes = slice_with_len(data, node_start, NODE_SIZE)
    90         node_bytes = slice_with_len(data, node_start, NODE_SIZE)
    88         (
    91         (