I tested the script only on Windows XP.
Regards.
Masaru.
2009/10/18 masaru tsuchiyama <m.tmatma_at_gmail.com>:
> Hi.
>
> I added the feature to use external command instead of
> python bzip2 or gzip module.
>
> [[[
> Â add two command line options, --bzip2-cmd and --gzip-cmd
> Â to svn-backup-dumps.py
>
> Â if --bzip2-cmd option is specified, the script use bzip2 command to
> Â compress the dump stream instead of python bzip2 module.
>
> Â if --gzip-cmd option is specified, the script use gzip command to
> Â compress the dump stream instead of python gzip module.
>
> Â * tools/server-side/svn-backup-dumps.py
> Â Â (SvnBackupOutputCommand): add new class to launch external command to
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â compress.
> Â Â (SvnBackup.__init__): add two member variables, __bzip2_path and
> Â Â Â Â Â Â Â Â Â Â Â Â Â __gzip_path to hold command line parameters
> Â Â (SvnBackup.create_dump): create instance of SvnBackupOutputCommand
> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â when __bzip2_path or __gzip_path is valid
> Â ]]]
>
> Regards.
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2408639
Received on 2009-10-18 11:21:27 CEST