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

Re: [PATCH] Improve the way svnserve handles the --root option

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2006-12-05 01:23:18 CET

On Mon, Dec 04, 2006 at 10:41:09PM +0200, Vlad Georgescu wrote:
> 2. Makes the --root option mandatory on Windows, because the default
> that we currently use ('/') only makes sense on Unix-like OS's.
>

I've long thought that the default option doesn't make sense on Unix
either. I'm sure you could come up with all sorts of creative
troublemaking by asking the server to try opening random directories as
a Subversion filesystem.

Hm. And there is no real sensible choice for a default root on Windows,
so we have to make it mandatory there for that reason too.

Would making it mandatory everywhere violate our backward-compatibility
guidelines? Conceivably someone could be using paths like
svn://server/home/svn/repos/myrepo, I suppose, and then we'd break them.
They could always add an explicit '--root /' if they really wanted to do
that, of course.

But I think that's a bit of an edge case. Any objections to making it
mandatory everywhere?

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Tue Dec 5 01:23:31 2006

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