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

Re: RE: How to get the module name as the top level folder in subversion checkout

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Thu, 19 Jun 2008 11:24:52 -0700

On Thu, Jun 19, 2008 at 7:47 AM, Giulio Troccoli <
Giulio.Troccoli_at_uk.linedata.com> wrote:

> > For example,
> > svn+ssh://<svn server name>/someproj
> >
> > Now, ideally it should create "someproj" as a folder in my current
> > directory and then should download truck, branches and tags into
> > "someproj" folder. But the someproj folder does not get created, and
> the
> > trunk, branches etc get downloaded to my current directory.
> >
> > I just want to know if this is the desired behavior of subversion or
> > some configuration issue.
>
> I think you need a dot at the end, so something like
>
> svn co svn+ssh://<svn server name>/someproj .
>

The second parameter to co command is the checkout directory. If it is not
provided then it will take the last part of URL in the first parameter.

That is, the dot at the end will NOT create someproj. And without the dot,
it (at least the command line client) should create someproj directory and
checkout everything there.

With the dot, it will checkout everything (trunk, branches and tag in this
case) to the current directory. May be that is what Narendra did? Or may be
he used another client, as Blair mentioned.

rgds
-Hari
Received on 2008-06-19 20:25:22 CEST

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.