You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Masaru Tsuchiyama <ts...@asahi-net.email.ne.jp> on 2006/05/27 02:45:49 UTC

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

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

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

Posted by Masaru Tsuchiyama <ts...@asahi-net.email.ne.jp>.
Hello.

> 
> Thank you for your suggestions.
> I implemented error reporting in r19841.
> 
> If you find more cases where it outputs a trace instead of an error 
> message please report them.
> 

Thanks.

+1 to merge this commit to 1.4.x branch.

Masaru

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

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

Posted by Martin Furter <mf...@rola.ch>.
Thank you for your suggestions.
I implemented error reporting in r19841.

If you find more cases where it outputs a trace instead of an error 
message please report them.

Martin

On Sat, 27 May 2006, Masaru Tsuchiyama wrote:

> 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
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org