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

Re: Change project name keep history

From: B Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Sun, 5 Apr 2009 07:40:42 +0200

On Sun, Apr 5, 2009 at 05:01, Gerard Marcel <men.makaron_at_gmail.com> wrote:
> Is there a way to either copy/merge/move a project from a branch to the
> trunk, change its name, and still keep its history?  Nothing works for me so
> far.
>
>
> TIA,
>
>
> GM
>

If you're using the standard trunk/tags/branches per project layout:

project/trunk
project/branches/newtrunk

do this:

svn mv project/trunk project/branches/oldtrunk
svn mv project/branches/newtrunk project/trunk

It'll probably produce nicer history if you are able to do this on a
working copy of "project" because then you can commit both changes in
one commit and won't have a revision where the trunk is missing. If
you've got too many tags and branches on project for a full checkout
out of project to be feasable, have a look at the --depth option non
checkout and update.

// ben

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1548576

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-05 07:41:39 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.