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

svn-backup-dumps.py [Re: svnbackup.py]

From: Masaru Tsuchiyama <tsuchiyama_at_asahi-net.email.ne.jp>
Date: 2006-05-27 04:45:49 CEST

Hello

svn-backup-dumps.py is a very useful script.

I have two suggestions for it.

1. If we runs it without arguments, it shows not-user-friently
   error message. I think it must show a help message.

2. If we runs it with non-existing directory
   as <dumpdir>, it shows not-user-friently error message too.
   I think it must create dumpdir automatically or show the
   message that you must create dumpdir in advance.

Thank you for your useful script.

Masaru

-----Original Message-----
On Mon, 13 Mar 2006 04:57:40 +0100 (CET)
Martin Furter <mf@rola.ch> wrote:

>
> Hello
>
> Now i found some time to continue the work on svn-backup-dumps.py.
>
> I think I implemented all the suggestions made, so if noone objects I'm
> gonna add it in about two days to trunk/tools/server-side.
>
> (Yes, in my first mail I said I want to add it to tools/hook-scripts, but
> meantime the directory 'server-side' popped up and I think it makes more
> sense to put it there.)
>
> Alan Barrett wrote:
> > * Make the compression program (and filename extension) configurable.
> > (I find that bzip2 compresses dumps better than gzip does.)
>
> I just added the option -b for bzip2.
>
> > * Make the use of the svnadmin dump "--deltas" option configurable.
>
> Done.
>
> Chris Foote wrote:
> > Or, you could just use the python zipfile/gzip/bz2/tarfile modules.
>
> Done. Using the modules gzip and bz2.
>
>
> On Mon, 13 Feb 2006 kfogel@collab.net wrote:
> > Just a usage() function or comment at the top of the file or something
> > like that is fine.
>
> I added a huge comment at the top of the file.
>
> Additionally I added some compatibility code for subprocess.Popen to make
> it work on python 2.3 too.
>
> Thanks.
> Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 27 04:46:20 2006

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.