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

Re: [PATCH] command line options to use external command to compress

From: masaru tsuchiyama <m.tmatma_at_gmail.com>
Date: Sun, 18 Oct 2009 18:21:09 +0900

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

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.