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

Re: Virtual filesystems

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Fri, 4 Nov 2011 22:32:44 -0400

On Fri, Nov 4, 2011 at 4:52 PM, Richard Cavell <richardcavell_at_mail.com> wrote:
> Hi, everyone.
>
> In a URL such as:
>
> file:///one/two/three/four
>
> It may be that the repository is actually at /one/two, and the three/four
> are directories within the repository.
>
> How does subversion identify which slashes are virtual and which ones are
> real?  Does it search each part of the path to see if it's a valid
> repository, and then step into it?  Is there a way, or a need, to ever tell
> svn which part of the URL is real and which is virtual?

Richard, turn it around. It could also work by *ascending* the
potential directory tree, looking for a "db" directory with the
relevant components at a particular level.

I'm not sure which it does, but it's often fun to turn such analysis
questions areound and see what would happen if some confused person
set up a database directory in a top level directory and generated the
other subdirectories and stuffed another repo there. what would
happen?
Received on 2011-11-05 03:33:19 CET

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.