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

New SVN Repos from CVS

From: Tom Browder <tom.browder_at_gmail.com>
Date: Wed, 27 Aug 2008 18:54:18 -0500

I have exercised my cvs2svn conversion process (using subversion
1.5.1) a couple of times now to work out the warts. But I have one
problem that is not CVS-related.

For years our main line of development has been on a branch (call it
X) on the CVS repo. And the new SVN shows the history on that branch
just fine.

What I would like to do is save the current trunk (hasn't been used in
four or five years) to a branch, and make branch X become the trunk.
Is there any clean way to do that?

First I saved the existing state of the trunk:

  # seems to do what I want
  svn cp prog/trunk prog/branches/orig-trunk

Then I dumbly tried:

  svn cp prog/branches/X prog/trunk

which obviously put a directory X in the trunk--not what was intended.

I don't think a merge is the answer because I want the existing state
of branch X to become the trunk as it is.

I haven't tried it yet, but can I do:

  svn cp prog/branches/X/* prog/trunk


  svn mv prog/branches/X/* prog/trunk

If so, then can I do

  svn rm prog/branches/X

Thanks for any suggestions.


To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-28 01:54:41 CEST

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.