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

Problems creating trunk and branches from existing repository

From: Allison Bloodworth <abloodworth_at_berkeley.edu>
Date: 2006-05-01 23:18:41 CEST

Hi,

I had a repository with no trunk or branches and wanted to create structure
that allowed that. I am having trouble figuring out why when I create a
branch, I am getting a "trunk" subdirectory at the top of my branch when I
do an svn copy or svn update after an svn switch. This is causing big
problems when doing an svn switch to point newly created branches to the
trunk...I want the subdirectories in the trunk to be displayed in the
branch, not trunk > subdirectories.

I'm following the directions in the subversion book
(http://svnbook.red-bean.com/nightly/en/svn-book.html#svn.branchmerge.using.
create), and I made a trunk directory and a branches/allison directory and
then moved everything from events to events/trunk (see commands used below).
Then to copy what was in the trunk directory to the allison branch, I was
unable to do move things in the way the book suggested:

svn copy svn+ssh://events@svn.berkeley.edu/svn/events/trunk
svn+ssh://events@svn.berkeley.edu/svn/events/branches/Allison

...because it created a trunk directory under "allison". I had to instead to
copy each individual folder under trunk, like this:
svn copy
svn+ssh://events@svn.berkeley.edu/svn/events/trunk/FreeEnergyModules
svn+ssh://events@svn.berkeley.edu/svn/events/branches/Allison

Now I am doing switches like this on other checkouts to point them to trunk:
svn switch svn+ssh://events@svn.berkeley.edu/svn/events/trunk

But when I do an svn update, I get a directory structure with trunk >
subdirectories, which is not what I want.

I am really in need of some assistance here...any help is appreciated!!

Thanks!
Allison

---------------------------

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

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
Received on Wed May 3 03:57:51 2006

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.