On Fri, Nov 4, 2011 at 4:52 PM, Richard Cavell <richardcav...@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?