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

RE: [PATCH] svnadmin copy command(Scanned for viruses: Notes Admin)

From: <vberezniker_at_siuh.edu>
Date: 2003-07-31 17:25:19 CEST

I am very glad that you like the idea. I have replaced incorrect
refference to "backup" with "copy".

In order to ensure that copy command patch would not break any existing
functionality I am splitting my effort into two parts. First part is
submitting small patches to enhance subversion core library to provide
sufficient API for my copy command implementation. Second part is
updating my implementation to work with the enhances core API and
submitting a patch.

For starters I would like to submit a patch to libsvn_fs's
svn_fs_berkeley_archive() functionality.

First is to change the return type of a function from Berkeley DBs pointer
list to apr array (apr_array_header_t). Add a new parameter allowing to
receive only log file names without the absolute path and a parameter that
would include used log files in the list.

The patch also contains changes to svnadmin archive command to allow
specifying the new parameters from command line. Default behavior of the
svnadmin archive command is not changed. If no parameters are specified
it will list absolute paths to unused log files.

Sincerely,
Vladimir Berezniker

"Sander Striker" <striker@apache.org>
07/31/2003 08:02 AM
 
        To: <vberezniker@siuh.edu>, <dev@subversion.tigris.org>
        cc:
        Subject: RE: [PATCH] svnadmin copy command(Scanned for
viruses: Notes Admin)

> From: vberezniker@siuh.edu [mailto:vberezniker@siuh.edu]
> Sent: Thursday, July 31, 2003 3:00 AM

> The purpose of this command is to integrate hot-backup.py steps 2
through 7
> to allow anyone to create their own backup solutions with only stock
svnadmin
> executable.

> Copy command makes a hot copy of a repository to a new path, meaning
that you can
> use it to make a copy of an active repository.

I like the concept a lot. So +1 in concept.

> If --archive-logs option is specified unused logs in REPOS that were
copied to
> NEW_REPOS will be deleted.

'archive' is a bit of a misnomer. 'delete' or 'discard' would be better.

>Here is the output of "svnadmin help copy":
>
>copy: usage: svnadmin backup REPOS_PATH NEW_REPOS_PATH
 ^^^^ ^^^^^^

Inconsistency.

Sander

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

Received on Thu Jul 31 17:38:04 2003

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.