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

Re: New SVN Repos from CVS

From: Tom Browder <tom.browder_at_gmail.com>
Date: Wed, 27 Aug 2008 20:56:33 -0500

On Wed, Aug 27, 2008 at 6:59 PM, John Niven <jniven_at_bravurasolutions.com> wrote:
>> -----Original Message-----
>> From: Tom Browder [mailto:tom.browder_at_gmail.com]
>> Sent: Thursday, 28 August 2008 11:54
>> To: users_at_subversion.tigris.org
>> Subject: New SVN Repos from CVS
...
>> 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
...
> Since trunk is safe (copied to prog/branches/orig-trunk), can you not
> simply delete trunk (prog/trunk) and then copy prog/branches/X to trunk?
> (Or am I missing something obvious?)

You mean

  svn rm prog/trunk
  svn cp prog/branches/X prog/trunk

Wow, I have to start thinking big with svn! Looks like it should
work. Anyone see any problems?

Thanks, John.

-Tom

---------------------------------------------------------------------
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 03:57:02 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.