mercurial/utils/storageutil.py
changeset 42813 268662aac075
parent 42781 aeb2be20b33b
child 43076 2372284d9457
equal deleted inserted replaced
42807:383fdfa6bba9 42813:268662aac075
    20 from .. import (
    20 from .. import (
    21     dagop,
    21     dagop,
    22     error,
    22     error,
    23     mdiff,
    23     mdiff,
    24     pycompat,
    24     pycompat,
    25     repository,
       
    26 )
    25 )
       
    26 from ..interfaces import repository
    27 
    27 
    28 _nullhash = hashlib.sha1(nullid)
    28 _nullhash = hashlib.sha1(nullid)
    29 
    29 
    30 def hashrevisionsha1(text, p1, p2):
    30 def hashrevisionsha1(text, p1, p2):
    31     """Compute the SHA-1 for revision data and its parents.
    31     """Compute the SHA-1 for revision data and its parents.