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

Re: Read-Only file systems (Was: Worst Error Message?)

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 1 Aug 2011 16:51:57 +0200

On Mon, Aug 01, 2011 at 04:38:46PM +0200, Markus Schaber wrote:
>
> Hi,
>
> Von: Stefan Sperling [mailto:stsp_at_elego.de]
> > On Mon, Aug 01, 2011 at 04:12:41PM +0200, Markus Schaber wrote:
> > > Can subversion cope with repositories and working-copies on
> read-only
> > media?
> > >
> > > Maybe some Live-Demo CD bringing an example SVN repository?
> >
> > No.
>
> So subversion needs write access to both repository and working copies,
> even if the user performs only operations which he "thinks" to be
> read-only like "status", "diff", "compare to revision" for working
> copies, and "repo browsing" and "compare to revision" for repositories?

Yes. For all read opreations it needs to create read-locks to prevent other
clients from writing at the same time. Another example is that during diff
it needs to create temporary files to write diffs to.

Repo browsing (e.g. svn ls URL) will probably work as long the repository
is on a writable filesystem.

It is possible that some things happen to work.
But you'll need to experiment to find out.

The general answer is "no it won't work". It is not a supported use case.
Received on 2011-08-01 16:52:37 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.