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

Re: [tortoisesvn] r23298 committed - Only show the "Restore after commit" context menu entry only in the co...

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 28 Sep 2012 19:02:53 +0200

On 28.09.2012 10:42, Simon Large wrote:
> On 18 September 2012 18:49, <tortoisesvn_at_googlecode.com> wrote:
>> Revision: 23298
>> Author: tortoisesvn
>> Date: Tue Sep 18 10:49:13 2012
>> Log: Only show the "Restore after commit" context menu entry only in
>> the commit dialog, remove it from all other dialogs.
>> http://code.google.com/p/tortoisesvn/source/detail?r=23298
>
> Just noticed this being merged to 1.7.x. Should that menu entry be
> retained in CfM? After all, you need to set that flag before you start
> partially undoing undoing changes, not right at the point of commit.

The merge wasn't intended and is already reverted.
That's a new feature for 1.8.

It doesn't (and can't) work in the CfM dialog because it only works just
before a commit:
The files must be saved somewhere before you edit them, and restored
after the commit. To do that, TSVN has to keep the list of saved files
and where they're saved.

> Also related, what happens if you "Restore after commit" and then
> revert a file so that you can make completely different changes to it
> for an emergency fix. Does the revert also discard the "Restore after
> commit" status? I'm guessing it should normally, but should there be
> an option to "Revert and restore after commit"?

No, you could revert after invoking "restore after commit" and the
original content of the file (at the time you invoke the command) will
be restored after the commit.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=3010998
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-09-28 19:03:04 CEST

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

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