You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Allison Bloodworth <ab...@berkeley.edu> on 2006/05/04 21:40:46 UTC

Problem: get trunk directory when checking out files & don't want it

Hi, 

I had asked about this previously but I think my question may not have been
clear. I also inadvertently sent a duplicate of the original message out
about it so please accept my apology for that.

I am having a problem where when I either checkout or switch a working copy
to the following URL, I get a trunk subdirectory on top of everything when I
don't want that--I only want the files underneath "trunk".

E.g. svn checkout svn+ssh://events@svn.berkeley.edu/svn/events/trunk

trunk/htdocs and trunk/FreeEnergyModules and trunk/build directories are put
in my current directory instead of just htdocs and FreeEnergyModules and
build.

I wonder if this might be because I changed the repository structure to have
branches by doing a move...here are the commands I used:

svn mkdir trunk svn+ssh://events@svn.berkeley.edu/svn/events
svn mkdir branches svn+ssh://events@svn.berkeley.edu/svn/events
svn move svn+ssh://events@svn.berkeley.edu/svn/events/FreeEnergyModules
svn+ssh://events@svn.berkeley.edu/svn/events/trunk
svn move svn+ssh://events@svn.berkeley.edu/svn/events/build
svn+ssh://events@svn.berkeley.edu/svn/events/trunk
svn move svn+ssh://events@svn.berkeley.edu/svn/events/htdocs
svn+ssh://events@svn.berkeley.edu/svn/events/trunk
svn move svn+ssh://events@svn.berkeley.edu/svn/events/test_show.xml.php
svn+ssh://events@svn.berkeley.edu/svn/events/trunk

Any help would be GREATLY appreciated!

Allison Bloodworth
Principal Administrative Analyst
Technology Program Office
University of California, Berkeley
(415) 377-8243
abloodworth@berkeley.edu




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Problem: get trunk directory when checking out files & don't want it

Posted by Theo Van Dinter <fe...@kluge.net>.
On Thu, May 04, 2006 at 02:40:46PM -0700, Allison Bloodworth wrote:
> I am having a problem where when I either checkout or switch a working copy
> to the following URL, I get a trunk subdirectory on top of everything when I
> don't want that--I only want the files underneath "trunk".
> 
> E.g. svn checkout svn+ssh://events@svn.berkeley.edu/svn/events/trunk

So is the issue that the repo has an extra trunk dir, or that when you do a
checkout things go into a directory called trunk?  If the latter, put "." as
another parameter on the commandline:

svn co [...]/trunk .

-- 
Randomly Generated Tagline:
Drink wet cement, and get completely stoned.