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

Re: undo add before commit?

From: Stefan Kng <tortoisesvn_at_gmail.com>
Date: 2007-08-22 17:19:09 CEST

Andy Levy wrote:
> On 8/22/07, Ron Wilson <ronw.mrmx@gmail.com> wrote:
>> Actually, Revert only applies to uncommitted changes. To undo
>> committed changes, you "Update to Revision" the files you want to undo
>> changes, then Commit those. (Unlike old fashioned system (like PVCS),
>> doing this will not create a branch; in SVN, branches must be
>> explicitly created.)
>
> "Update to revision" won't do it either AFAIK, because when you
> attempt to commit Subversion will tell you that your WC is out of
> date. You have to *copy* the file from a previous revision and then
> commit that, or perform a reverse merge.

Show log, select revision to revert to, right-click, choose "revert to
this revision" or "revert this revision". Then commit.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Aug 22 17:17:03 2007

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