[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: Blair Zajac <blair_at_orcaware.com>
Date: Thu, 28 Aug 2008 12:57:14 -0700

Tom Browder wrote:
> On Thu, Aug 28, 2008 at 2:22 AM, Alan Barrett <apb_at_cequrux.com> wrote:
>> On Wed, 27 Aug 2008, Tom Browder wrote:
>>> 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?
>> Yes, that will work, but it makes the change in two revisions. The
>> trunk will not exist at all during the time between the two commits,
>> which may be confusing or otherwise undesirable, especially if people in
>> the future attempt to diff against old revisions of the trunk.
>> I'd use mucc to do it all in a single revision:
>> REPO="svn://server/repo"
>> mucc -m "Delete old trunk and replace it with a copy of branch X" \
>> rm "$REPO/prog/trunk" \
>> cp "$BRANCHREV" "$REPO/prog/branches/X" "$REPO/prog/trunk"
>> mucc is available somewhere in the svn source code, but it's not
>> installed by default, and you might find it named either "svnmucc" or
>> "mucc" depending on the version of svn.
> Do you know if it is intended for mucc someday to be a "normally"
> available admin or user function?

No, there's no intentions of that currently.


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 21:57:38 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.