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

Re: subversion not running without .subversion directory?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-11-10 15:52:59 CET

On Nov 10, 2004, at 7:50 AM, solo turn wrote:
> yes, but WHY does svn need a configuration directory, if there is
> nothing to configure and nothing to save?

Because 'svn' has many behaviors. If somebody is used to particular
behaviors, and then the .subversion directory is unknowingly deleted or
becomes unreadable, it is not acceptable for 'svn' to silently switch
back to default behaviors.

At the moment, 'svn' requires that a config area be readable, else it
errors. That's what you're seeing, and it's probably too extreme. It
would probably be better if svn just printed a warning instead, so
users aren't surprised or confused by suddenly-different behaviors.

> or do you want to say, that one should not use "svn" for such a kind
> of operation, but "svnlook"?

Well, yes, that's a separate question. Why would a CGI program with
direct access to a repository use 'svn', and not just 'svnlook'? It's
a question for the websvn guys.

Perhaps it's for annotation support, which 'svn' can do, but not

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 10 15:53:47 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.