On Thu, Aug 16, 2018 at 7:36 AM, Steven Kelly <stevek_at_metacase.com> wrote:
> Paul Hammant asked:
> > Not answering your question, but could you explain more about your
> > 'serverless' use - sounds intriguing
>
> The idea is to do the simplest SVN example that could possibly work.
> Since TortoiseSVN on Windows can work without a server for a single user
> and local repo, I assumed it could be done on Linux with plain SVN.
>
SVN uses a client/server architecture but can access a local
repository using a file:/// scheme. When it does that, the client is
also the server, so you don't have a separate server process
running. (This is possible because SVN is actually implemented as a
library, and the library contains the code for both. You could
perhaps use SVN as a library instead of a separate process if you
want to integrate it into an application and use it as the
application's version controlled datastore.)
You are correct that three slashes are needed with file:/// -- the
first two are for the file:// URL scheme and the third is the
beginning of the path, which begins with the root "/" directory.
Received on 2018-08-16 16:41:36 CEST