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

Re: Tag to main line

From: lorenz <lorenznl_at_yahoo.com>
Date: Wed, 08 Apr 2009 07:49:00 +0000

Talden wrote:
>Modha Khammammettu wrote:
>>> Hi All
>>>
>>> I have tagged my SVN project.
>>>
>>> Some changes after I tagged messed up the code, can you please tell me how
>>> to make the tagged code replace the current code.
>
>Daniel Becroft wrote:
>> Perform a reverse merge to roll-back those revisions that have caused the
>> issue. You shouldn't need to delete trunk.
>
>Is another way to use svnmucc and 'rm trunk cp TAGREV trunk trunk'?

whereas both methodes give the exact same result in restoring trunk to
the desired state, there is a difference in what you will see in the
log afterwards.

After a reverse merge you still see the commit messages of the
reverted revisions.

Deleting trunk and reinstating it from the tag (or the related trunk
revision) won't show those messages, and only tell that trunk was
replaced. The history of the thrown-away revisions is still accessable
though (you will need to use the peg revision syntax to get there).

-- 
Lorenz
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1592071
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-08 09:50:00 CEST

This is an archived mail posted to the Subversion Users mailing list.