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

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

From: Narendra Upadhyay <unarendra_at_surfkitchen.com>
Date: Thu, 19 Jun 2008 09:56:50 +0100

Hi Ryan,

Thank you for your prompt response to my query.

My question was a bit different. I am trying to checkout the whole
folder containing trunk, branches and tags just for the verification
purpose.

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.

Thanks,
Narendra
 

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2008b_at_ryandesign.com]
Sent: 18 June 2008 23:17
To: Narendra Upadhyay
Cc: users_at_subversion.tigris.org
Subject: Re: How to get the module name as the top level folder in
subversion checkout

On Jun 18, 2008, at 9:58 AM, Narendra Upadhyay wrote:

> When I am trying to checkout a module in subversion, it creates
> three folders in my current directory - trunk, branches and tags;
> but it does not create the module name as the top level folder.
> Could you please let know if it's a configuration issue or
> limitation of subversion.

There are no "modules" in a Subversion repository. There are only
directories and files.

Check out just the directory you want, and name it what you want. You
almost certainly do not want to check out trunk, all branches and all
tags. Instead, check out only the trunk, or only a specific branch,
or only a specific tag.

For example:

svn checkout http://www.example.org/svn/someproj/trunk someproj-trunk

(checks out someproj/trunk into a local directory someproj-trunk)

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-19 16:41:05 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.