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

Re: Help with reverting

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 15 Oct 2008 18:37:52 +0200

Lars Zeb wrote:
> After working with TSVN for a while, I'm still very confused about
> "Revert to this revision" and Revert changes from this revision".
>
> The revision number at the HEAD of my repository is at 488. I don't
> like what I've done in the past few revisions. I'd like to have
> revision number 485 at the HEAD now.
>
> Is the proper way to Show log ==> right-click on revision 485 =>
> Revert to this revision?

Yes.

> Must I do a commit after this? Must I do an update for the changes to
> 485 appear in my working copy?

You have to commit first. The 'revert to this revision' does a reverse
merge of the changes you want to revert. So after the 'revert to this
revision', your working copy is still at HEAD, but has all the changes
you made in 486-488 undone and your working copy shows you those as
local modifications.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-10-15 18:38:28 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.