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

Re: [PATCH] dav_svn_get_repo_name handling of SVNParentPath

From: Molle Bestefich <molle.bestefich_at_gmail.com>
Date: 2006-01-17 14:40:14 CET

Maxime Petazzoni wrote:
> Basically, the new dav_svn_get_repo_name2() function uses the
> dav_svn_split_uri function to retrieve the repository name from the
> current requested URI if the SVNParentPath directive is used,
> otherwise it acts like the old dav_svn_get_repo_name.

So if a repository uses SVNParentPath, the repository name returned
will be whatever the client decides it should be - it could be an IP
address, or (using /etc/hosts) any arbitrary name. Whilst
non-SVNParentPath repositories use the name of the repository folder
on the server.

Seems inconsistent to me - why not just rev the function to always use
whatever the client provides in the URI, instead of doing different
things depending on a logically completely unrelated aspect of the
server configuration?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jan 17 15:50:35 2006

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