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

RE: svnadmin sanity check (was: Re: browsing repositories)

From: Lübbe Onken <L.Onken_at_rac.de>
Date: 2003-08-13 13:08:47 CEST

> On Tue, Aug 12, 2003 at 06:03:26PM +0100, Greg Thomas wrote:
> >
> > > DO NOT: svnadmin create repos1; svnadmin create repos1/repos1a
> >
> > Can/should svn prevent you from doing this?
>
> I suspect it would be pretty easy to do this as a sanity
> check. I don't
> know if it's worth checking all grandparent/great grandparent etc.
> directories to see if they are repositories, though.

How about doing the following thing: upon "svnadmin create
path/to/repository"
just check whether: path/to/repository and path/to are empty. That should be
sufficient.

If anybody insists on doing:
svnadmin create repos1
cd repos1
mkdir my/long/path/
svnadmin create my/long/path/repos2

you can't help him/her anyway.

Cheers
-Lübbe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 13 13:13:45 2003

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