subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Weintraub <>
Subject Re: project vs. repository
Date Thu, 13 Jan 2011 17:09:30 GMT
On Thu, Jan 13, 2011 at 11:37 AM, Daniel Shahaf <> wrote:
> David Weintraub wrote on Thu, Jan 13, 2011 at 11:19:54 -0500:
>> Are you using file:// URLs? You should either be using svnserve or
>> Apache httpd as your Subversion server. Fortunately, you can easily do
>> that without having to do anything with your repository. Even when I
>> have a personal Subversion repository and I'm the only user, I still
>> use svnserve.
> I'm curious: why?
> Is it because you need authz, or run svnserve as a different user, or
> because you prefer to have a one-stop way to stop everything from
> accessing the repository, ...?

I hope you're asking me why, as the only user for my personal
repository, I'm accessing Subversion via svnserve and not via

Several reasons:

* It's easier to refer to my repository as
svn://localhost/blah/blah/blah rather than

* It allows me to put my repository out of "harms way", so I don't do
anything stupid and destroy my work. Doing stupid things is my
specialty. I worked in the financial industry in fixed asset
securities (i.e. CDOs) when the financial collapse happened. Mere
coincidence? I think not.

* It makes it easy to give someone else needs access to my repository
when those occasions arise. And, I can give myself remote access when

* I can pretend to be two or more separate users. This isn't because I
suffer from some abnormal split personality disorder, but because I do
Subversion administration, and it allows me to test hook scripts of
various sorts and how Subversion handles various issues.

And, svnserve is easy enough and quick enough to setup that there's
really no reason not to.

Now, if you're asking about multiple users, the big reason is to keep
everyone's grubby fingers away from directly accessing the repository.
When you use file://, every one has read/write/damage/destroy/delete
access to your repository. Not a good thing to have.

David Weintraub

View raw message