Mercurial > p > roundup > code
view tools/base64 @ 4429:d75e92fbfcca
- lower memory footprint for (journal-) import
.-- only for rdbms backends, other backends shouldn't have that much
data anyway.
| author | Ralf Schlatterbeck <schlatterbeck@users.sourceforge.net> |
|---|---|
| date | Thu, 07 Oct 2010 12:02:12 +0000 |
| parents | 740102dfad1d |
| children | c75defc1c2f0 |
line wrap: on
line source
#!/usr/bin/env python import zlib, base64, sys print base64.encodestring(zlib.compress(sys.stdin.read()))
