[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: Daniel Rall <dlr_at_collab.net>
Date: 2006-12-05 01:53:25 CET

On Tue, 05 Dec 2006, Malcolm Rowe wrote:

> 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?

Yes.

> 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?

Even though it is in violation of our compatibility guidelines, if it
really doesn't make sense I'd vote in favor of bending the rules and
removing it.

Perhaps Greg Hudson could speak to it first?

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

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