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

Re: url point to directory inside repository

From: Michael Wahlbrink <linux.wali_at_gmx.de>
Date: 2004-08-12 01:26:10 CEST

Hi nina,
please don't answer per personal mail (pm) send the reply mails also to
the list (users@subversion.tigris.org), so all the svnpeople out there
can following the thread... ;-)

nina wrote:
> Michael Wahlbrink wrote:
>> Hi nina,
>> nina wrote:
>>> Hi, I used cvs2svn to convert my cvs repository to svn repository.
>>> Therefore, there's a folder call trunk under repository
>>> (/repos/trunk/real-stuff). So from http.conf inside <Location>
>>> block, I do SVNPath /svn/repos, and from browser type
>>> www.webpage.come/svn/repos, it will show trunk folder. How do I do
>>> if I want the browser to show things inside trunk folder (not trunk
>>> folder itseft) if I type www.webpage/svn/repos? I tried to change
>>> SVNPath /svn/repos/trunk but it showed error.
>> try http://www.webpage.com/svn/repos/trunk/ from your browser.....
> It will work with http://www.webpage.com/svn/repos/trunk, but I wonder
> if there's a way to redirect it without having to specify trunk.

I don't knom much about cvs2svn but for what you are describing here it
seems, that cvs2svn puts all the stuff in the 'trunk' directory inside
of the repository....
so there are basically 2 ways to solve that
1. get cvs2svn import the cvs stuff not in the trunk directory (don't
know if it's possible and how - experts your turn!!!)
2. move your stuff inside of the svn repo...
(and 3. realize some funny http-redirection with apache.....)

for the concepts and where the trunk-directory-theory comes from have a
look in the subversion-book

hth, micha

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 12 01:25:49 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.