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

SVNParentPath Revisited

From: Cliff Stanford <cliff_at_may.be>
Date: 2007-02-23 22:20:45 CET

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In the response to last time I brought this up,
http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=110783

Max Bowsher said:

> After contemplation, I have come to realize that this entire thread is
> founded on an inaccurate assumption - that it is impossible to set the
> repository name in a SVNParentPath setup. This is not true:
>
> <Location /repos>
> DAV svn
> SVNParentPath /foo
> </Location>
>
> <Location /repos/foo>
> SVNReposName "This is the foo repository"
> </Location>
>
> <Location /repos/bar>
> SVNReposName "This is the bar repository"
> </Location>
>
>
> The blurring of the concepts of repository filesystem basename and
> SvnReposName human-style name as has been discussed in this thread,
> would, in fact, be a bug itself - so let's not do that! :-)

This is a plea for the dev team to reconsider. I have been able to
build an entire svn repository browser, http://svn.may.be/ , built
around only the repository and dav_svn. As I create a new svn repostory
it appears automatically in the list and all the functions work on it.

The problem is that, in order to work, I have to make the patch to the
source on each release. It's only a two-liner but it shouldn't be
necessary. The patch I use is to add the following lines after getting
the repo_name in repos.c.

if (repo_name == NULL)
    repo_name = repos_name;

It was posted at
http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=110383

I take Max's point that this can be fixed by editing the httpd.conf file
(or one included) but this takes away the ability to add a new
repository with just svnadmin create.

If you don't like the fix above, a number of other suggestions have been
made. Perhaps SVNReposName "%s" or an entirely new directive?

Please reconsider this problem. I'm happy to do the work for whatever
scheme you select.

Many thanks.

Cliff.

- --
Cliff Stanford
Might Limited +44 845 0045 666 (Office)
Suite 67, Dorset House +44 7973 616 666 (Mobile)
Duke Street, Chelmsford, CM1 1TB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFF31qtfNTx9pWyKfwRAqNnAJ4yqXJznaAoDX/UMJz65s6jNI77VwCfb5OL
hywas6cU+vcwJ97HAuDg3wk=
=pMVM
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 23 22:21:14 2007

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.