comparison mercurial/templatefilters.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 67964cda8701
children e2711975be00
comparison
equal deleted inserted replaced
17134:9e1616307c4c 17135:1028a1c9077a