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

Re: Candidate bug: svnadmin should refuse to create nested repositories

From: Quinn Taylor <quinntaylor_at_mac.com>
Date: Fri, 22 Aug 2008 09:52:56 -0600

>> It is definitely a no-no to create a repository within a
>> repository... so it wouldn't hurt if svnadmin would detect and warn
>> about, or event prevent, this situation.
>
> Agreed. This can lead to a sticky situation. The one question,
> though, is how far up the directory structure should svnadmin
> recurse to determine if the proposed new repository is in an
> existing repository? 1 level? 2 levels? All the way to the root?
>
> -Hyrum

Unless the user is creating deeply-nested directories within the
repository and creates a "sub-repository" therein, it shouldn't be
necessary to traverse up too many levels. OTOH, creating repositories
is a relatively infrequent event, and traversing up to the root
wouldn't incur a heavy penalty. However, the intricacies of stopping
at "the root" for various platforms and locations (like networked
volumes) adds complexity. In the end, it would probably depend on the
willingness of a volunteer programmer to deal with all those
issues. :-)

  - Quinn

  • application/pkcs7-signature attachment: smime.p7s
Received on 2008-08-22 17:53:17 CEST

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.