[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: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-08-13 13:43:50 CEST

On Wed, Aug 13, 2003 at 01:08:47PM +0200, Lübbe Onken wrote:
> > 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.

That's exactly what I meant :)

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
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:45:03 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.