view mercurial/__init__.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 9117c6561b0b
children 4374d819ccd5
line wrap: on
line source