You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Gerard Marcel <me...@gmail.com> on 2009/04/05 03:01:38 UTC

Change project name keep history

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

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Change project name keep history

Posted by B Smith-Mannschott <bs...@gmail.com>.
On Sun, Apr 5, 2009 at 05:01, Gerard Marcel <me...@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@subversion.tigris.org].


Re: Change project name keep history

Posted by Tom Browder <to...@gmail.com>.
In the subversion there is a tools/client/svnmucc program which is not
built nor installed normally, which, I believe, can be used for your
goal.  One of the gurus here (Alan Barrett) suggested I use it to, in
one step, swap a branch and the trunk.  It worked for me.  See this
e-mail thread:

http://svn.haxx.se/users/archive-2008-08/1067.shtml

HTH.

-Tom

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Change project name keep history

Posted by Gerard Marcel <me...@gmail.com>.
I must have done something wrong the last times I tried.


Thx,


GM

On Sun, Apr 5, 2009 at 10:35 PM, Andy Levy <an...@gmail.com> wrote:

> On Sun, Apr 5, 2009 at 22:26, Gerard Marcel <me...@gmail.com> wrote:
> > Actually, I simply want to move a project from a branch to the trunk.  At
> > the same time, I want to change the name of the project.  When I try to
> > change the name first then I lose the history.  Any more ideas.
>
> Copies, moves & renames all preserve history. Why do you think otherwise?
>
> > On Sun, Apr 5, 2009 at 10:21 PM, Gerard Marcel <me...@gmail.com>
> > wrote:
> >>
> >> That does not keep the history.
> >>
> >>
> >> On Sun, Apr 5, 2009 at 12:46 AM, Tyler Roscoe <ty...@cryptio.net>
> wrote:
> >>>
> >>> On Sat, Apr 04, 2009 at 11:01:38PM -0400, Gerard Marcel 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.
> >>>
> >>> Why doesn't:
> >>>
> >>>    svn mv /branches/branch/projectA /trunk/projectANewName
> >>>
> >>> work for you?
> >>>
> >>> tyler
> >>
> >
> >
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Change project name keep history

Posted by Andy Levy <an...@gmail.com>.
On Sun, Apr 5, 2009 at 22:26, Gerard Marcel <me...@gmail.com> wrote:
> Actually, I simply want to move a project from a branch to the trunk.  At
> the same time, I want to change the name of the project.  When I try to
> change the name first then I lose the history.  Any more ideas.

Copies, moves & renames all preserve history. Why do you think otherwise?

> On Sun, Apr 5, 2009 at 10:21 PM, Gerard Marcel <me...@gmail.com>
> wrote:
>>
>> That does not keep the history.
>>
>>
>> On Sun, Apr 5, 2009 at 12:46 AM, Tyler Roscoe <ty...@cryptio.net> wrote:
>>>
>>> On Sat, Apr 04, 2009 at 11:01:38PM -0400, Gerard Marcel 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.
>>>
>>> Why doesn't:
>>>
>>>    svn mv /branches/branch/projectA /trunk/projectANewName
>>>
>>> work for you?
>>>
>>> tyler
>>
>
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: Change project name keep history

Posted by Gerard Marcel <me...@gmail.com>.
Actually, I simply want to move a project from a branch to the trunk.  At
the same time, I want to change the name of the project.  When I try to
change the name first then I lose the history.  Any more ideas.

Thanks,

GM

On Sun, Apr 5, 2009 at 10:21 PM, Gerard Marcel <me...@gmail.com>wrote:

> That does not keep the history.
>
>
>
> On Sun, Apr 5, 2009 at 12:46 AM, Tyler Roscoe <ty...@cryptio.net> wrote:
>
>> On Sat, Apr 04, 2009 at 11:01:38PM -0400, Gerard Marcel 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.
>>
>> Why doesn't:
>>
>>    svn mv /branches/branch/projectA /trunk/projectANewName
>>
>> work for you?
>>
>> tyler
>>
>
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Change project name keep history

Posted by Gerard Marcel <me...@gmail.com>.
That does not keep the history.


On Sun, Apr 5, 2009 at 12:46 AM, Tyler Roscoe <ty...@cryptio.net> wrote:

> On Sat, Apr 04, 2009 at 11:01:38PM -0400, Gerard Marcel 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.
>
> Why doesn't:
>
>    svn mv /branches/branch/projectA /trunk/projectANewName
>
> work for you?
>
> tyler
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Change project name keep history

Posted by Tyler Roscoe <ty...@cryptio.net>.
On Sat, Apr 04, 2009 at 11:01:38PM -0400, Gerard Marcel 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.

Why doesn't:

    svn mv /branches/branch/projectA /trunk/projectANewName

work for you?

tyler