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

[Fwd: Re: Newbie questions: How to check out just one file, etc.]

From: Carole E. Mah <Carole_Mah_at_brown.edu>
Date: 2005-01-26 16:08:09 CET

Ryan Schmidt wrote:

> Now to answer some of your questions:
> [...]
> It sounds like you're doing something wrong, though. You say that
> after a checkout your documents have "trunk" in the URL. It sounds
> like, using my example heirarchy above, you're doing a checkout of
> project1 instead of a checkout of project1/trunk. In other words,
> you're getting a working copy which contains the current development
> version (trunk), plus all branches, plus all tags. That's not a
> particularly useful way to work, I think. You'll more likely want to
> check out project1/trunk, since you're most likely to be working on
> the current development version.

Here's what I did:

svn import /tmp/myProject file:///srv/projects/svn/myRepos -m "initial
import"

ls /tmp/myProject
   README
   foo.doc
   cleanScripts/
   otherScripts/
   old_VM_files/

svn checkout file:///srv/projects/svn/myRepos/trunk

Here's what it gave me:

trunk/
   README
   foo.doc
   cleanScripts/
   otherScripts/
   old_VM_files/

I just want it to give me the things inside trunk, not the trunk
directory itself; i.e. this is what I wanted it to return:

README
foo.doc
cleanScripts/
otherScripts/
old_VM_files/

Is there any way to make sure it does this?

-carole

-- 
Carole_Mah@brown.edu
Senior Programmer Analyst
Computing & Information Services
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 26 16:14:04 2005

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