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

Re: svn ls - could it list non repo directories?

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-05-03 20:50:26 CEST

Jeff Cave wrote:

> We have pointed svnserve at "repodir", but put repositories at the project
> level. That means it can turn into a guessing game as to what the company or
> project directory is called.

This is where you are causing your own problems. svnserve does not include
anything like SVNParentPath (like the Apache module does). Although that
wouldn't work either, since you are setting up two directory layers above the
actual repository (SVNGrandParentPath???).

What I'd recommend is that you have a single repository per company; this is
also good if the projects should ever need to share any portion of their code
(common libraries). The way you have organized it makes it much more difficult
to do that.

What you do from there is up to you; if you have completely internal
repositories (i.e. not on the public Internet), I would actually suggest setting
up independent svnserve instances for each company's repository:

        svn://svn-company1
        svn://svn-company2
        svn://svn-company3
        svn://svn-company4

which could still be the same box, but with different svnserve instances bound
to different IP addresses.

OR, you could actually use the protocol intended for this purpose and set up
Apache and use SVNParentPath (since this will work find with 'svn ls' as you
want to use it).

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 3 20:50:33 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.