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

Re: 'svnadmin create' can blow away your repository

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-02-12 00:53:13 CET

On Mon, Feb 10, 2003 at 12:56:01PM -0600, Karl Fogel wrote:
> "B. W. Fitzpatrick" <fitz@red-bean.com> writes:
> > If you pass the path of an existing repository to 'svnadmin create',
> > svnadmin quietly blows away the repository. Shouldn't this throw an
> > error or require a --force flag or something?
> Yes, absolutely. (shiver)
> Want to fix it?

Hunh? I don't understand. svn_fs_create_berkeley() creates a directory right
off the bat. If the directory exists, then it just bails.

What is the actual symptom here? Is it the db/ part that gets blown, or
other parts of the repos area?


Greg Stein, http://www.lyra.org/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 12 00:49:39 2003

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