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

Re: create branch failed

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Tue, 6 Jan 2009 15:57:28 -0600

On Jan 5, 2009, at 13:21, Helge Kruse wrote:

> I want to reorganize my repository and create a trunk/branch
> structure.
> I moved the former root to /trunk and created a /branch directory
> and commited it with the repository. Now I wanted to create the
> specific branch. I accidentily used
> svn copy /trunk/Product /branch/x.y/Product

Is your working copy really the root of your hard disk? I'm surprised
by the slashes at the beginning of both of those paths. I would have

cd workingcopy
svn cp trunk/Product branch/x.y/Product


cd workingcopy
svn cp trunk branch/x.y

> This copied the complete tree below Product to the new branch. I
> deleted the local x.y/Product tree and used
> svn revert /branch

That probably didn't do anything, since you had not made any change
directly to the branch directory. ("svn revert" is not recursive by
default.) I think you need to instead:

svn revert branch/x.y

Or possibly:

svn revert -R branch


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-06 23:02:51 CET

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.