[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: Stefan Sperling <stsp_at_elego.de>
Date: Sat, 5 Nov 2011 10:49:49 +0100

On Fri, Nov 04, 2011 at 04:52:43PM -0400, Richard Cavell 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?

It walks the path upwards (starting a 'four') and looks for a directory
which contains a file called 'format' and a directory called 'db' on
the OS filesystem (not in the versioned tree, of course).
This directory is assumed to be the repository root.

See svn_repos_find_root_path() in
Received on 2011-11-05 10:50:30 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.