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

Re: Please help with an svnserve question

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-09-01 18:23:26 CEST

On Wed, 2004-09-01 at 10:52, Youngblood, Gregory (SAIC) wrote:
> Good morning.
>
> A few months ago you answered someone's question about svnserve checkouts
> including the directory structure of the server (absolute paths). Your
> response was to read Ch 6 of the book and to use -r.

Please send mails to users@subversion.tigris.org, not individuals.
You're much more likely to get responses from dozens of people, rather
than depending on one person to respond.

>
> I've already done that, and already use -r to control what I'm trying to do.
> I'm looking at subversion to replace CVS. I'm used to CVS where everything
> was relative to the CVS root.
>
> In my case, I have a repository created in /export/SVN. I have a project
> imported as proj1 and proj2. I am able to checkout with svn co svn://[ip
> address] proj1. I'm using -r with svnserve to set the root to /export/SVN.
> This all works just fine.
>
> The problem is, if I svn co svn://[ip address] proj1, then the files are
> placed in proj1/export/SVN/.

Huh? That doesn't sound correct to me. As far as I know, 'svn co
schema://host/path wcname' will *always* create a directory called
'wcname' and place the contents of basename(path) into that directory.
Whether or not you use 'svnserve' or 'svnserve -r' should be irrelevant.

Please us a session transcript that demonstrates this behavior.

> But, if I do svn co svn://[ip
> address/export/SVN proj1 then the files go into the proj1/ directory. For
> example, for the file test.htm, the first co creates
> proj1/export/SVN/test.htm, while the second example creates proj1/test.htm.
>
> I do not like exposing the server directory structure like this. The goal is
> to replace CVS. With CVS, a checkout of a project creates the project
> directory and puts all the files in there. With SVN, so far, the checkout
> creates the project directory and then the server directory structure, and
> then the files.
>
> The import was from a windows machine, the svnserve process is on a Linux
> machine. I do not have Apache2 available, so the DAV interface is not
> possible at this time. This is with svn 1.0.6.
>
> Any advice or insight into this problem is greatly appreciated.
>
> Thanks,
> Greg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Sep 1 18:24:45 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.