mercurial/localrepo.py
changeset 48652 6fd9a17c32ab
parent 48604 348d2c6b5048
child 48666 4c1135d15700
equal deleted inserted replaced
48651:c3239f2ee61b 48652:6fd9a17c32ab
   930     for name in util.compengines:
   930     for name in util.compengines:
   931         engine = util.compengines[name]
   931         engine = util.compengines[name]
   932         if engine.available() and engine.revlogheader():
   932         if engine.available() and engine.revlogheader():
   933             supported.add(b'exp-compression-%s' % name)
   933             supported.add(b'exp-compression-%s' % name)
   934             if engine.name() == b'zstd':
   934             if engine.name() == b'zstd':
   935                 supported.add(b'revlog-compression-zstd')
   935                 supported.add(requirementsmod.REVLOG_COMPRESSION_ZSTD)
   936 
   936 
   937     return supported
   937     return supported
   938 
   938 
   939 
   939 
   940 def ensurerequirementsrecognized(requirements, supported):
   940 def ensurerequirementsrecognized(requirements, supported):