##// END OF EJS Templates
hghave: add check for zstd support...
Gregory Szorc -
r30441:de48d3a0 default
parent child Browse files
Show More
@@ -610,3 +610,12 b' def has_hypothesis():'
610 @check("unziplinks", "unzip(1) understands and extracts symlinks")
610 @check("unziplinks", "unzip(1) understands and extracts symlinks")
611 def unzip_understands_symlinks():
611 def unzip_understands_symlinks():
612 return matchoutput('unzip --help', br'Info-ZIP')
612 return matchoutput('unzip --help', br'Info-ZIP')
613
614 @check("zstd", "zstd Python module available")
615 def has_zstd():
616 try:
617 import mercurial.zstd
618 mercurial.zstd.__version__
619 return True
620 except ImportError:
621 return False
General Comments 0
You need to be logged in to leave comments. Login now