comparison mercurial/mail.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 a82b6038ff08
children e7cfe3587ea4
comparison
equal deleted inserted replaced
17134:9e1616307c4c 17135:1028a1c9077a