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

Re: documentation "undoing changes" outdated

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sun, 14 Apr 2013 14:10:22 +0200

On 14.04.2013 13:43, Peter Parker wrote:
> I have just installed TortoisSVN and was reading the documentation to learn how to use it.
> I have just read the section of "Undoing Changes" (the last part found at page: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-qs-guide.html). I cannot see:
> Context Menu → Revert changes from this revision
> However, I figured out that:
> Context Menu → Update to version
> does the same functionality.
>
> I am not sure if that's outdated documentation or what. I just thought to share that with you.

Careful here, you could end up with something you don't want.

When you use "update to revision" instead of "revert changes from this
revision", then yes, your working copy will get changed to that
revision. But you won't be able to commit your changes from that earlier
revision. If you edit a file and try to commit your changes, the svn
server will return an error telling you that your working copy is
out-of-date and you have to update.
And if you then update, you will get your changes back, those you wanted
to undo.

So if you really want to undo your changes and then work from there,
always use "revert changes from this revision".

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3053267
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-04-14 14:10:34 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.