> -----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
>
...
>
> 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.
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?)
Cheers
John
>
> 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
>
> or
>
> svn mv prog/branches/X/* prog/trunk
>
> If so, then can I do
>
> svn rm prog/branches/X
>
> Thanks for any suggestions.
>
> -Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
---------------------------------------------------------------------
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 02:00:02 CEST