diff mercurial/formatter.py @ 30438:90933e4e44fd

util: check for compression engine availability before returning If a requested compression engine is registered but not available, requesting it will now abort. To be honest, I'm not sure if this is the appropriate mechanism for handling optional compression engines. I won't know until all uses of compression (bundles, wire protocol, revlogs, etc) are using the new API and zstd (our planned optional engine) is implemented. So this API could change.
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 10 Nov 2016 23:15:02 -0800
parents e7cacb45c4be
children 783016005122
line wrap: on
line diff