diff mercurial/posix.py @ 17135:1028a1c9077a

revlog: make compress a method This allows an extension to optionally use a new compression type based on the options applied by the repo to the revlog's opener. (decompress doesn't need the same treatment, as it can be replaced using extensions.wrapfunction, and can figure out which compression algorithm is in use based on the first byte of the compressed payload.)
author Bryan O'Sullivan <bryano@fb.com>
date Mon, 25 Jun 2012 13:56:13 -0700
parents 7002bb17cc5e
children 0cb55b5c19a3
line wrap: on
line diff