[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Hot-backup.py won't create zipfiles bigger than 2GB

From: Donald Gordon <donald.gordon_at_xero.com>
Date: Wed, 16 Jun 2010 11:12:03 +1200

Hi

> hot-backup.py is in our trunk/tools/, and requests to extend it may be
> dev
> topics (e.g., if they come with patches). So I don't think it's off-
> topic?

Here's a patch to hot-backup, then.

It allows a format of "zip64" to be specified; this tells the python ZipFile class that it is allowed to produce a .zip with ZIP64 extensions, if the data to be compressed cannot fit in a non-ZIP64 zipfile. I've tested it with my enormous repository, and it works as expected.

Comments/criticism/commits welcome :-)

donald
Received on 2010-06-16 01:12:49 CEST

This is an archived mail posted to the Subversion Dev mailing list.