diff mercurial/demandimport.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 (2012-06-25)
parents 868282fa29d8
children e3a5922e18c3
line wrap: on
line diff