[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-02 22:33:53 CEST


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 *just* the subdirectories in the trunk to be displayed in the
branch, not branchname > trunk > subdirectories.

I'm following the directions in the subversion book
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

...because it created a trunk directory under "allison". I had to instead to
copy each individual folder under trunk, like this:
svn copy

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 branchname >
trunk > subdirectories, which is definitely not what I want.

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



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 move svn+ssh://events@svn.berkeley.edu/svn/events/build
svn move svn+ssh://events@svn.berkeley.edu/svn/events/htdocs
svn move svn+ssh://events@svn.berkeley.edu/svn/events/test_show.xml.php

Allison Bloodworth
Principal Administrative Analyst
Technology Program Office
University of California, Berkeley
(415) 377-8243

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 2 22:35:13 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.