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

Re: Unwanted nested dirs

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-06-15 09:54:09 CEST

On Jun 15, 2007, at 01:41, White, David ((KWI C54)) wrote:

> While I have been using subversion for 4 years (mostly with
> Tortoise svn
> unless I need to get into svnadmin), I consider myself a newbie, as I
> don't really get into the depths of svn. Also, the repositories I am
> working on are only accessed by me.
>
> I had a repository checked out:
> +-Project 1
> +-Project 2
>
> In my working copy, I wanted to create a new project very similar to
> Project 2, so I (foolishly) copied Project 2 and renamed it:
> +-Project 1
> +-Project 2
> +-Project 3
>
> Now when I want to commit this to the repository, I end up with the
> Project 3 folder merged back into Project 2 in the repository. How
> can
> I get Project 3 added into the repository as a separate folder?

I assume you copied Project 2 using your normal OS commands and named
it Project 3. In doing so, you also copied the .svn directories
contained therein, which link that directory with the Project 2 path
in the repository.

A better way to do this would have been to use Subversion commands to
copy the project.

svn cp "Project 2" "Project 3"

Make sure there are no changes in Project 2 at the time that you do
this.

Since you've already committed the previous attempt, and it wasn't
what you wanted, you'll probably have to undo it. Undoing changes is
addressed in the book:

http://svnbook.red-bean.com/en/1.2/
svn.branchmerge.commonuses.html#svn.branchmerge.commonuses.undo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jun 15 09:55:11 2007

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